| # | User | Rating |
|---|---|---|
| 1 | Kevin114514 | 3722 |
| 2 | Benq | 3676 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3408 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3196 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | maroonrk | 153 |
| 2 | Qingyu | 152 |
| 3 | nik_exists | 151 |
| 4 | AmShZ | 147 |
| 4 | maspy | 147 |
| 6 | Um_nik | 142 |
| 7 | Errichto | 139 |
| 8 | adamant | 136 |
| 9 | BledDest | 135 |
| 10 | AksLolCoding | 132 |
|
0
tmw orz |
|
+16
Nice job! |
|
+21
I am sorry but may you please explain why everyone writes your handle? :D |
|
On
yevhenii_kanivets →
Codeforces Watcher 1.3.1: Blog posts and migration to coroutines, 7 years ago
0
You can open PR with the tests :) |
|
+7
I have tried the diophantine equation but no luck. What a bad problem for C.. |
|
0
I believe standings will appear there soon: https://izho.kz/results/ |
|
0
+2 |
|
+18
Didn't your team also put kangoroos on some bags? :D |
|
+37
Is it down again? |
|
-10
I think 'Collections.sort' is too slow to pass tests with big constraints. |
|
0
There are no ups without falls.. |
|
+7
Lovely scoring distribution |
|
0
Well, what if the value of |
|
+45
Guys, it is a prank! :D |
|
+31
Good luck, Zhan! I wish your dream come true! |
|
0
After educational round |
|
0
Good luck, everyone! |
|
0
Difficulty is the same as Div2 problems |
|
+17
As always, solution for a problem is quite easy but why I can't come up with it.. Anyway, thanks for great problems! |
|
+1
Well, it works in logN. So I think you both do not need to worry about TL |
|
0
Explanation from AdiZer0 : The number is perfect square if all prime degrees are even. So you can do dp with bitmask since there is only 19 primes until 70. |
|
0
Didn't know this fact, thanks) |
|
0
How to solve C? |
|
0
What is an idea behind your DP approach? |
|
0
Same thing here.. |
|
+1
|
|
On
komendart →
Editorial Codeforces Round 445 (and Technocup 2018 — Elimination Round 3), 9 years ago
0
Well, your graph should be like a chain. If it is, just start to restore a string from a top of this chain one by one. |
|
On
komendart →
Editorial Codeforces Round 445 (and Technocup 2018 — Elimination Round 3), 9 years ago
+1
Your resultant string can not contain similar letters. For example, if you have "aba" where 'a' appears two times, it is already impossible to construct a string where "aba" will be the most frequent string. Now, using this fact, let's build a graph on letters of our strings. If we have a string "curd", that means we need to create 3 edges {'c' -> 'u', 'u' -> 'r', 'r' -> 'd'}. If such directed graph does not contain loops, just restore strings and output them in lexicographical order |
|
On
komendart →
Editorial Codeforces Round 445 (and Technocup 2018 — Elimination Round 3), 9 years ago
0
If there are cycles, answer is NO. Otherwise, restore all strings and output them in lexocgraphical order. 32280888 |
|
On
MikeMirzayanov →
About Codeforces Round 445 and Technocup 2018 — Elimination Round 3, 9 years ago
+6
There are no ups without falls. |
|
0
In problem Div2E we also should take in mind that if |
|
+26
I created the BFS algorithm by my own) It was required in the problem where fire was spreading in a maze) I coded about 200 lines of code :D |
|
0
Why is it enough to take only (l — 1) as the additional case? |
|
+22
You know you are a programming competitions addict if when you see word "tourist" somewhere you think about a CP Legend) |
|
0
Oh, sorry, there is no question anymore, i found out a mistake, here is AC solution : 27416622 |
|
0
May you please find a mistake behind a logic of my approach for problem C : 27416588 |
|
+8
What a beatiful solution for D ) |
|
+5
Easy to see :DD |
|
+3
I thinked it means Knapsack Problem) |
|
On
DeshiBasara →
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial, 10 years ago
+6
Because of collisions unordered_map works with complexity O(n) in worst case while worst case for simple map is O(logN) |
|
On
DeshiBasara →
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial, 10 years ago
0
Your submissions were skipped because someone has the same code as you. Did you use ideone.com or other online IDEs? If yes, many people had a chance to copy-paste your solution(cheaters) |
|
On
DeshiBasara →
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial, 10 years ago
-11
Можно пожалуйста вопрос про D. Предположим мы ходим по графу и разукрашиваем его, допустим текущая вершина покрашена в цвет 1. Далее мы продолжаем его разукрашивать, и каким-то образом идем по ребру веса 1 в эту же вершину и цвет не совпадает, мы сразу выводим "NO". Но разве мы не можем пойти по какому-нибудь другому пути, где их цвета совпадут? Почему это работает ? |
|
-6
Spoiler One of the best greedy problems |
|
0
|
|
0
May you please explain this part of solution for D? Spoiler First observation is that: GCD(x1, x2, ..., xk) = 1 means that for any prime p, there exist i such that xi is not dividable by p. So we only care about what prime factors a number contain. (So for example, 12 -> {2, 3}, 6 -> {2, 3}, 9 -> {3]}) The second observation is: If x ≤ 1e9 then it has at most 9 prime factors. Why in worst case there is only 9 prime factors??! |
|
0
Oooh. ok) |
|
0
Hm. I think this test case is wrong because "220 275 330" are valid sides |
|
0
I tried to find a hack test case for O(n ^ 3) and O(n ^ 2) solutions.. :D |
|
+7
Absolutely agree) I think this type of problems is named as "constructive" |
|
+1
Guys, what is a type of problem C today? Is it math or just implementation? I have difficulties with this kind of problems |
|
+6
Good luck!) |
|
0
Yes, and dp[i] = dp[i / 2] + dp[i / 2 + (i % 2)]; |
|
+6
Hope this will help |
|
+2
Also ready) |
|
On
gKseni →
Innopolis Open — Olympiad in Informatics for secondary school students: Registration is open until December 15, 2016, 10 years ago
+1
Solution from Marik Let pref[i] be the maximum volume of liquid that we can get by doing some opreations on prefix i, the same for suf[i], but here we calculate maximum volume that we can get on suffix i. Therefore,
Then iterate i from 1 to n and calculate this value:
|
|
0
It makes your input/output more faster. It is really important to use it when you read big data. For example, when number of elements in your array reaches 2e5) |
|
+6
Your solution is right) http://codeforces.me/contest/738/submission/22402437 I only added ios_base and it got 'Accepted' :DDDD |
|
+8
Instead of Thousands Words : |
|
-8
Something More Than Just Lines of Code |
|
-45
|
|
+13
There is still no function for deleting account) |
|
On
NeverSayNever →
How to i check other's submission for a given problem on codeforces ?, 10 years ago
0
On the right side you should see "Codeforces Round #X", click on it |
|
-13
Maybe people sent too many submissions and servers were overloaded |
|
0
Auto comment: topic has been translated by ironsoul (original revision, translated revision, compare) |
|
0
Strange thing This C++ 11 submission if faster than C++ 14 submission :D |
|
0
http://codeforces.me/blog/entry/46860 Check this one) |
|
+6
Cool! May you please share good sources for learning a Swift programming language? |
|
0
I feel so frustrated again because of not solving the C problem. During the contest, I did not have any thought about DP, I used only DFS... |
|
+1
Here is a my method of solving Div2 C: I just wrote a really slow solution. I wrote it down on paper and tried to found consistent pattern. To be honest, I do not know why my solution works but it got "ACCEPTED". |
|
0
Cartesian tree is slower than segment tree because of constant that appears from "Merge" and "Split" functions. For example, if you want to insert some element, you need split your tree by key and merge. It means that operaton works O(2*log(N)). |
|
0
Because if on some prefix sum is [S/3] we should add all the methods of getting exactly this sum on our suffix. Why [i + 2]? Because we should have 3 parts with exactly the same sum. |
|
+5
Your code works O(M*N). Therefore, in worst case your program makes 10^10 operations. Obviously, TLE happens. Try to think about more optimal solution. Hint: optimal solution should work O(N + M) |
|
+10
Far Manager |
|
0
May you please share with online judges on which you solved a lot of problems?) |
|
+16
My congratulations. May you share with us how you achieved this hard aim? ) |
|
+8
You always share photos with hands... :D |
|
0
For (it = s.begin(); it != s.end(); it++) If ... s.erase(it) Here is a mistake. you are not allowed to change the size of your set in FOR loop. be careful and use debugger |
|
0
If you submitted your solution during contest and did not get WA or TLE, you have a chance to block your solution. After that you can open programs of any participant from your room(room will be choosen randomly) and if you see some mistake you should write a test which can prove that this solution is wrong. If counter-test is correct, you will get 100 points) Good luck! |
|
+1
Do not want 4/5. You should solve at least 5!) |
|
0
Thanks a lot! |
|
0
Try to use Debugger, i think that somewhere your program calls defunct element of array like num[-1] or num[10000000] |
|
+5
3.After which time should we stop solving some difficult problem? Maybe, you always get WA on test 5, do not give up, but time decreases too. 4.How much time do you spend for training per day? Thanks for posts like that, it gives us a motivation! |
|
0
Some problems which you can try to solve with binary search: http://codeforces.me/problemset/problem/670/D2 http://codeforces.me/problemset/problem/371/C Good luck! |
|
0
The same thing. Never passed it before :D |
| Name |
|---|


