| # | User | Rating |
|---|---|---|
| 1 | jiangly | 3810 |
| 2 | Benq | 3676 |
| 3 | Kevin114514 | 3655 |
| 4 | maroonrk | 3463 |
| 5 | strapple | 3447 |
| 6 | Um_nik | 3387 |
| 7 | heuristica | 3322 |
| 8 | turmax | 3317 |
| 9 | tourist | 3307 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 156 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | Um_nik | 142 |
| 5 | Errichto | 139 |
| 6 | adamant | 137 |
| 7 | AmShZ | 135 |
| 8 | BledDest | 132 |
| 8 | maroonrk | 132 |
| 10 | qwexd | 129 |
|
0
Plus you need to check ((x2 — x1) / x + (y2 — y1) / y ) % 2 == 0 because there are no rules that move only x or y. |
|
0
remember that we must change a character. first compare s[0.. n/2-1] and s[n-1.. n-1-(n/2-1)] YES : only one difference || ( n % 2 == 1 && every character is equal ) NO : (Actually using 'else') ( n % 2 == 0 && every character is equal ) || more than 1 differences |
|
-6
How to solve C? I can get gcd using Euclidean Algorithm(if you know any better idea, can I ask you to tell any idea). |
|
0
Just Programming skills not a specific algorithm (sorry about confusion) |
|
-6
This contest is good for me to overcome my laziness about studying algorithm. |
|
0
I just find min, max value of div1, div2. if there is no div2 ==>> Infinity. if a max value of div2 is bigger than a min value of div1 ==>> Impossible. Finally, there is solution = 1899 + position — maxValueDiv2 to find maximum value. Drawing range will be helpful (Sorry Bad English) |
|
On
MikeMirzayanov →
Codeforces Round 389 Div.2 (and Technocup 2017 — Elimination Round 3), 10 years ago
0
Contest always end up with hacking :( |
|
0
My solution C simulating statement is accepted. is there any solution without simulating? |
|
0
I agree with you. I had the same experience before. |
|
0
I have a question. I wonder how people can solve Div2 B, though they are confused about it... Is it a gap between me and high ranks? |
|
0
there are two copies. |
|
0
Div2 B, they said "It is guaranteed that the puzzle pieces are one 4-connected piece." and didn't accept rotate, flip and overlap. ==> only move. Because there are two copies of puzzle, only rectangular input is accepted. no stairs shaped, window shaped... |
|
0
.XXXX XXXX. XXXX. or .XX XX. XX. .XX XX. XX. It can't be rectangle |
|
0
I hope this will be helpful :) It seems like binary search. ll recur(int n, ll k) { ll temp = pow(2, (double)n — 1); if (k == temp) return n; else if (k > temp) { k -= temp; } return recur(n — 1, k); } |
|
+2
Hack Festival!@#(@($*!@(#!@ |
|
0
Although I missed a mistake as you mentioned, pretest was permitted. I noticed it, corrected immediately and got -50 points :( But I used the information for hacking! and got +100 points :) |
|
+1
I can feel the power of Alyona's mother |
| Name |
|---|


