摘要:
Medicine faculty of Berland State University has just finished their admission campaign. As usual, about 80% of applicants are gi... 阅读全文
摘要:
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. ... 阅读全文
摘要:
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... 阅读全文
摘要:
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 requi... 阅读全文