codeforces1027
i-Curve
优雅的运用技术
展开
-
A. Palindromic Twist -codeforce1027 -csdn博客
You are given a string s consisting of n lowercase Latin letters. n is even. For each position i (1≤i≤n) in string s you are required to change the letter on this position either to the previous lett...原创 2018-08-19 13:26:56 · 258 阅读 · 0 评论 -
B. Numbers on the Chessboard -codeforces1027 -csdn博客
You are given a chessboard of size n×n. It is filled with numbers from 1 to n2 in the following way: the first ⌈n22⌉ numbers from 1 to ⌈n22⌉ are written in the cells with even sum of coordinates from ...原创 2018-08-19 13:51:12 · 364 阅读 · 0 评论 -
C. Minimum Value Rectangle -codeforces1027 -csdn博客
You have n sticks of the given lengths. Your task is to choose exactly four of them in such a way that they can form a rectangle. No sticks can be cut to pieces, each side of the rectangle must be fo...原创 2018-08-19 14:04:24 · 202 阅读 · 0 评论 -
D. Mouse Hunt -codeforces -csdn博客
Medicine faculty of Berland State University has just finished their admission campaign. As usual, about 80% of applicants are girls and majority of them are going to live in the university dormitory ...原创 2018-08-19 20:00:33 · 274 阅读 · 0 评论