| # | 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 | 141 |
| 5 | Errichto | 139 |
| 6 | adamant | 137 |
| 7 | AmShZ | 135 |
| 8 | BledDest | 132 |
| 9 | maroonrk | 131 |
| 10 | qwexd | 129 |
|
On
ho-jo-bo-ro-lo →
View solutions in GYM contests by creating group(if you can't enable coach mode of course), 9 years ago
0
If the rules have not been updated recently, people from |
|
+2
Using ideone is not the problem here. The problem is, if your code is public in ideone, someone might copy that solution without notice. Read the blog I linked above for better understanding. |
|
+5
Or did you use ideone (story)? |
|
+34
According to this post: Participants from the first division can participate out of competition. |
|
+2
Can't register. Showing "rating should be 0...1899 to register ..." |
|
+5
Keeps loading forever in Safari. Working fine in Chrome though. |
|
Why don't you just google it? |
|
On
Baba →
CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Announcement, 10 years ago
+4
No. I've found at least 6 solutions doing this, in my room :| |
|
0
Maybe there is restriction on age. Keep that in mind too. |
|
+111
He saw your code, understood it was for problem A of today's round and submitted your code faster than you! scary :| |
|
0
Recently saw a blog about c++14 being slow for scanf,printf. Didn't expect it to be faster in case of cin,cout!! |
|
0
check this |
|
+10
Why u do this man? Even downvoting required effort :| |
|
0
Last year I've been < 50 and < 100 few times, one of my friends was 20th in some round. Yet no call :P |
|
0
Scanning once like this is not enough. Do the whole thing again and again until no more updates can be made. It requires 2-3 iterations maximum to settle every cell. |
|
0
Did that in last minute but failed systest because of integer overflow -_- |
|
+4
Try with scanf once instead of cin. |
|
0
Can you share your idea? |
|
+5
Let A<=B<=C. My solution is O(C-B) and it passed system test in 1.8s :| |
|
-45
Frustrated about GCJ Round 1A? Wondering if lack of Ahmed Aly did this :| |
|
Thanks. It's better than the editorial. To me at least. |
|
+4
This link takes everyone to their own hack section, not yours. |
|
0
You could've done better if you didn't forget to seal your AC xD |
|
+25
Code until you go bald :P |
|
0
What about live scoreboard? |
|
+14
And problem statement clearly said that- |
|
+5
Don't forget to try your case at "custom invocation" first. |
|
0
That constrain was totally deceiving >_< |
|
0
Why didn't you say anything about top 200 getting T-shirt? :/ I think that would have drawn more attention. |
|
0
i'm in |
|
+14
I couldn't open the challenges page, so clicked "try next challenge" after solving the second one & got the hardest problem(shortest path revisited) as third -_- |
|
On
MikeMirzayanov →
2015-2016 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred), 11 years ago
0
Yes it is. We did that. |
|
+1
no |
|
0
Read previous comments above or editorial. DP won't pass. |
|
0
I don't know the details of these but when u have to take too many inputs or output too many things, try using cin.tie(0) or cout.tie(0) for faster results. If in doubt, just go for scanf printf. That's what i learned (in the hard way of course). |
|
0
I've iterated 500 times & got AC. Try using std::ios_base::sync_with_stdio(0);cin.tie(0); |
|
0
222 is almost same as this one |
|
0
I've been using this code and got AC in several problems. So your comment is kind of frightening ! :| Can you point the error out (& correction if possible)? |
|
0
Try custom invocation. Miraculously it gives correct ans for this and all other cases -_- |
|
0
ignore. |
|
0
I've solved it using multiset link |
|
+3
I've used similar idea. But couldn't find bug in your code. See if this helps |
|
0
You are right. My code runs as expected after taking input as |
|
+3
Has anyone else notice that |
|
+6
Don't just wait. Look around :) |
|
+10
I was going to hack a O(n3), then thought of running simple addition 2000^3 times in custom invocation and it took .7s. I was like "brace yourself, something terrible is coming :|" |
|
+31
Is a O(n3) solution worth 2000 points? Seriously? |
|
0
I thought xor was way slower than & | operators. Seems i was wrong. Thanks for pointing out. I should have said % instead of ^. i'll update that comment |
|
-6
It depends on the type of computation you are doing. For example, 10^9 + or — or ifelse may pass in 2 seconds but if you are doing * or / or % then you might be in danger. If you really need to depend on such a solution, you can always try "custom invocation" to test how your solution acts on big tests (in CF of course). |
|
0
These are valid test cases. If you are talking about hacking, u need to put a newline at the end. |
|
+55
Maybe it came from Doraemon :P |
|
-16
What i'm saying is, in div2 only contests,there are around 1000 participants to make unnecessary submissions in worst case (as their ratings are not affected) but in div1 only, this number could be 4times bigger |
|
0
This is just a hunch. |
|
0
I didn't know that the commands are different for windows and linux, i'll update the title. If what [user:wild93] says is correct, then you can add that command in place of WI,--stack... that should execute the command every time |
|
+5
You should not ask for the solution of a problem from a running contest. Try yourself or wait for the contest to end. |
|
+13
interesting problems. though i could solve only the first two :| |
|
+2
i was wondering about cases like: 1 2 1 2 first query: 1 4 next query : 2 4 for this keeping maximum frequency seemed troublesome but now i realize it's easily possible using the "suf" array you mentioned! |
|
0
then how to find max frequency in O(1)? |
|
0
maybe u can maintain tow maps. one for counting frequencies and the other is for counting occurrences of that frequencies. for example if u have an array like this: 1 2 1 1 2 3 3 map1[1] = 3 map1[2] = 2 map1[3] = 2 map2[2] = 2 map2[3] = 1 |
|
+1
when u access out of bounds of an array, it's not defined in c++ what will happen. undefined behavior |
|
-8
i got the input file when only 10 seconds were left & couldn't submit ultimately. i've sent feedback immediately but as this happened at the last hour, i'm afraid i will be asked to submit the source code before the round ends. what do i do? :/ |
| Name |
|---|


