
Kuroni and Impossible Calculation
To become the king of Codeforces, Kuroni has to solve the following problem. He is given $n$ numbers $a_1, a_2, \dots, a_n$. Help Kuroni to […]
To become the king of Codeforces, Kuroni has to solve the following problem. He is given $n$ numbers $a_1, a_2, \dots, a_n$. Help Kuroni to […]
Now that Kuroni has reached 10 years old, he is a big boy and doesn’t like arrays of integers as presents anymore. This year he […]
Kuroni is the coordinator of the next Mathforces round written by the “Proof by AC” team. All the preparation has been done, and he is […]
This is an interactive problem. After getting AC after 13 Time Limit Exceeded verdicts on a geometry problem, Kuroni went to an Italian restaurant to […]
Kuroni is very angry at the other setters for using him as a theme! As a punishment, he forced them to solve the following problem: […]
As a professional private tutor, Kuroni has to gather statistics of an exam. Kuroni has appointed you to complete this important task. You must not […]
You are given a integer $n$ ($n > 0$). Find any integer $s$ which satisfies these conditions, or report that there are no such numbers: In the […]
You are given a permutation $p_1, p_2, \ldots, p_n$ of integers from $1$ to $n$ and an integer $k$, such that $1 \leq k \leq […]
This is the hard version of the problem. The difference is the constraint on the sum of lengths of strings and the number of test […]
This is the easy version of the problem. The difference is the constraint on the sum of lengths of strings and the number of test […]
This is the easy version of the problem. The difference is constraints on the number of wise men and the time limit. You can make […]
This is the hard version of the problem. The difference is constraints on the number of wise men and the time limit. You can make […]
Input The input consists of a single string of uppercase letters A-Z. The length of the string is between 1 and 10 characters, inclusive.Output Output […]
Input The input contains a single integer $a$ ($0 \le a \le 63$).Output Output a single number. Examples input 2 output 2 input 5 output […]
Input The input contains two integers $row$, $col$ ($0 \le row, col \le 63$), separated by a single space.Output Output “IN” or “OUT”.Examplesinput 0 0 […]
per nextum in unam tum XI conscribementis fac sic vestibulo perlegementum da varo. morde varo. seqis cumula varum.cisper nextum in unam tum XI conscribementis fac […]