|
+1
If x minus y is greater than 1, the use of prime factorization can ensure that the result of x minus y must be able to separate a prime number p (x-y = np, n >= 1), which is equivalent to x minus n*p to get y. But 1 is not a prime number that x — 1*1 = y isn't accepted. |
|
-6
If they do this, they will waste the chance of the competitor’s (possible) increase rating. |
|
0
Codeforces are inherently good, and every contest is carefully prepared by the host. But there're always someone to attack this website over and over again, destroying fair competition and causing trouble for the contestants. Hope them don't do it again! |
|
0
If both squares in the same column are one of the four states 3, 4, 5, and 6, then water can flow from the current line to another line. Otherwise, you can only let the water continue to flow on the current line. Finally, judge whether the water can flow to the second line of the Nth column. |
|
0
There is an easier way: if both squares in the same column are one of the four states 3, 4, 5, and 6, then water can flow from the current line to another line. Otherwise, you can only let the water continue to flow on the current line. Finally, judge whether the water can flow to the second line of the Nth column. |
|
+1
The point is to let others find the error of your program, improves yourself on a certain level, to reduce unnecessary errors. (Or it's just for fun?) |
|
-37
Huawei niubi! |