# | User | Rating |
---|---|---|
1 | tourist | 3690 |
2 | jiangly | 3647 |
3 | Benq | 3581 |
4 | orzdevinwang | 3570 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | Radewoosh | 3509 |
8 | ecnerwala | 3486 |
9 | jqdai0815 | 3474 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 173 |
2 | awoo | 164 |
3 | adamant | 163 |
4 | TheScrasse | 160 |
5 | nor | 157 |
6 | maroonrk | 156 |
7 | -is-this-fft- | 152 |
8 | Petr | 146 |
8 | orz | 146 |
10 | pajenegod | 145 |
+155
China 56 300s. |
+129
Team Slovakia:
Surprisingly, each of us has 6 letters in the first name and 8 letters in the surname. Our IOI statistics page is going to look super neat :) |
+89
This is in meme territory. |
+71
Croatia:
|
+49
Guys I totally did not write a random solution for C and got either only st3 correct or both st2 and st3 correct, and in the end wrote a sol for st1 specifically!!! There were no dependencies set !!! |
+46
It's clear as day that he was banned for contribution farming. Sadly, reporting cheaters wasn't his only blogs/comments activity. |
+43
G was pretty similar to this problem: 1526C2 - Potions (Hard Version) |
+41
Sweden's team:
|
+36
Good job by Mike and Co. Clearly he was farming contribution with cringe blogposts and comments. |
+36
In this round, there were three problems based on my ideas: 1974B - Симметричное кодирование, 1974C - Красивые пары троек, 1974F - Игра с отрезанием. |
+35
In short, you can't see the activities which were aimed at farm that I meant, but I started to notice them before he delete it. (For more obvious evidence, you can compare his activity it to much more upvoted activity of Dominater069 and see an unexpected difference in contribution.) |
On
sahkumar.bishwash →
CF Round 946(Div. 3). The same code got passed in Python 3 but it is giving tle in PyPy 3-64., 20 hours ago
+35
Inside of your solve function, these lines are technically O(n^2) since string concatenation is O(n) in python.
However, the compiler that python3 uses optimizes it to O(n) but pypy3's doesn't. I would recommend just adding each character to a list and joining them at the end with .join(). |
+34
As a tester, I encourage you to read all the problems.GL and Happy Coding. |
On
Shayan →
Codesprint Los Angeles 2024 | Vlog | 6th place in total, 1st amongst universities, 42 hours ago
+32
Sam is our best in implementing hard-to-implement tasks. |
+32
In my opinion, not a good contest. The first problem is too easy. It is probably the easiest one in APIO for years. The second problem is good. A good problem about DP optimization and persistent DS. The official solution is a bit hard (even a LGM failed to pass the problem), but some algorithms with $$$O(n\sqrt{n\log n})$$$ passed. But the third one is 'fantastic'. The official solution is long and extremely hard, while there is a much easier solution which can pass at about n=75 in all test cases, and about n=600 at the worst case (if the interactive lib is perfect, which is obviously impossible). What's more, the problemsetter put an $$$X \le 25,000,000$$$ which is supposed to lead the contestants to approach the solution, but it made many people try to solve T2 (at least in China) and some of them failed, getting a low score; while some successfully gets 100 points in T3 using easy solutions. It's amazing that NOBODY found the easy solution of T3 before the contest. |
+31
I heard 59... did you not count the CHN IOI team? On the flip side, CHN IOI team member ranks outside top 300? :manual-doge |
+29
I think problem C was better as "minimizing n" problem(i.e. your solution is judged by the max n it uses) |
+29
A well known saying in China: "Instead of beating the problem, I only need to beat the author." The person who said it got accepted in C with $$$n=75$$$, and his algorithm's easy to hack. |
+28
It was well known in testing that the 2SAT last problem of div4 is immensely difficult to implement (from scratch) and 2SAT as a topic is quite high level That doesnt make it fair to put it in div3 (or even in div4, but well it was) |
+25
он реально шарит в этом P.S: Take a look to second from left's t-shirt |
+25
Completely deserved ,My request to Mikey to never un-ban him |
+25
Pakistan top 6 Ghulam_Junaid 100+0+100=200 |
+25
Ukraine Team on EJOI2024:
|
+22
hoping to return back the blue handle |
+21
wishing to get my Pupil back |
+21
Though, I was not able to solve it, E was amazing. |
+20
as a tester , i hope you enjoy the round , a realy very good round <3 |
+20
go fuck yourself |
+20
Sorry I was wrong. |
+19
hopefully :) Will find out in a week See you at ioi24! |
+19
Can you please explain sir, Why he banned again..? Heap made a new account couple of hours ago and reply your this comment...which seems quite positive to me and indeed got upvoted to +29 even! So why his comment removed and banned again..? https://i.imgur.com/1lbKhSA.jpeg Thanks! |
+18
Misplacing problems by difficulty happens. You can't hold a higher division contest with them because they already appeared in contests, because mistakes were made in estimating their difficulty. Contest divisions are fine as is, problem assignment to divisions is the topic. I suppose what you mean is "can we assume problems are harder than they appear in testing?" |
+17
Ice_man2.0 will win both EJOI24 and EGOI24 |
+17
Looking forward to an AK, and GLHF to all participants, rated or not! |
+17
Beautiful Contest... I Loved Solving the problems... Especially the relation "Money Buys Less Happiness Now" with "Money Buys Happiness" won my heart :) |
+16
Another Vladosiya round!!! |
+16
Reporting is a feature only for 1900+ users, so it's highly unlikely that he was banned by the cheaters he keeps harping on about, as they are mostly about the same people and greens/grays. Most likely his constant posting just annoyed enough high rated people over a while as his posts just fill up Recent actions and push down more deserving content. People's patience is a limited resource, so the ban is probably deserved and he should take this as a lesson. |
+16
Thanks for nice tasks. Funny that I solved G by accident couple months ago. |
+15
As a participant I have to say im excited. |
+15
funny how I could predict who wrote this comment before seeing profile name on the right |
+15
"Best way to get better at x is by doing x." So yeah, solving those problems does help. Pick whichever you like the most, where you find problems challenging, but not too difficult. You can also consider past national contests and maybe even junior contests. |
+15
Thank you for the excellent coordination and organization! I joked about physicists because I am one :) |
+14
I think the point of that comment is "you can't solve it faster because it's equivalent to / harder than 3SUM, which has no known faster solution (in practice)". Indeed, solving this problem can also solve 3SUM. If you can solve this problem, you can also find a triple with sum $$$x$$$, by asking queries $$$[x-a_1, \dots, x-a_n]$$$. |
+14
what they did wrong was they declared the answer as an empty string and instead of pushing m[s[I]] back , all of them added it to the current string and replaced the current string. This made each operation having a cost of i(current) length , giving the end time complexity of O(n^2) Wrong approach => ans = ans + map[s[i]] Correct approach => ans.push_back(map[s[i]]) |
+14
The mirror is currently running. |
+14
Simplest Implementation for Problem D
|
+14
Oy blin I had fun this round. E was pretty, unfortunately I couldn't solve it. |
+13
Well GLHF, let's gain some rating! |
+13
Hope i can solve till E this time |
+13
based :D He probably made a joke about your handle name, copyPasteCoder |
+13
Here is the Argentinian team:
|
+13
For a more functional explanation: to avoid redundant counting, we'll iterate once through every triplets, count every triplet to the left of it that would make a beautiful pair. In notation, denoting $$$cnt(x)$$$ is the current counter for triplet $$$x$$$, then for each triplet $$$(a_i, a_{i+1}, a_{i+2})$$$ being iterated:
Take the 8th test in the sample:
We'd have three triplets, $$$(2, 1, 1)$$$, $$$(1, 1, 1)$$$ and $$$(1, 1, 1)$$$, and initially $$$ans = 0$$$.
|
+12
💀 |
+12
If you took 100 random people, there would be a good chance all of them would be fully demotivated within 6 months. If you are talking about a highly intrinsically motivated person that has a passion in problem solving that can handle intense grinding for years (and the pain) plus good mindset and practice strategies, that person has a good shot at becoming yellow. This kind of person is definitely not "regular" and what I mentioned has nothing to do with IQ. There are even a lot of CF users that wouldn't fit any of these catagories (looking at the do CP for jobs people). |
+12
A very hard contest. Kevin114514 got 115. |
+11
Awesome problems!:) |
+11
I had the $$$O(n \sqrt{n \log n})$$$ solution during the contest but I didn't want to code it since the TL was 1s and $$$n$$$ was up to $$$10^5$$$, why weren't there any subtasks rewarding that solution especially that there aren't that many subtasks to think of in P2 and P3 :)) |
+11
E had a nice dp thing. Take dp[i][x] to mean the minimum number of pounds you need in order to obtain at least x happiness at month i. The transitions are: for a certain happiness x, we know that dp[i][x] is at most equal to dp[i — 1][x] (that is, the answer for the previous month). dp[i][x] can also be dp[i — 1][x — h[i]] + c[i] if c[i] + dp[i — 1][x — h[i]] <= the amount of money we have garnered so far. dp[i — 1][x — h[i]] + c[i] represents the minimum cost to get at least x happiness assuming we buy happiness at month i. Of course, we can only afford this if it is less than our current amount. We don't want x — h[i] to go below zero. So dp[i][x] = min(dp[i — 1][max(0, x — h[i])] + c[i], dp[i — 1][x]). After this, in order to make the dp[i] represent the minimum number of pounds to get at least x happiness, we just let dp[i][a] = min(dp[i][a], dp[i][a + 1]) for a going from the sum of all happiness to 0. Aka just take suffix minimums. The base case happens at month zero (or at month 1 actually since you technically have no money at month 1). The minimum number of pounds we need in order to obtain 0 happiness at month 0 is 0. The minimum number of pounds we need to obtain x >= 1 happiness at month 0 is infinity. The answer will be the highest index in dp[m] who's value is not equal to infinity. There was a lot happening in this problem. |
+11
This is a very genius solution I heard from someone in the Errichto server: Connect for all $$$2 \le i \le n$$$, the vertices $$$X \pmod{i - 1} + 1$$$, and $$$i$$$. Clearly the first vertex is always less than the second, so there cannot be any cycles. On the other hand, the graph has exactly $$$n - 1$$$ edges. Thus, it must be a tree. In order to restore the answer, you can use CRT (chinese remainder theorem). |
+11
Cool! Then one of the solutions would be to sample and encode the points of polynomial with degree k such that at least k+1 points will survive. |
+11
Python Forces ! , Thanks Vladosiya |
+10
when will be results publish? |
+10
in 4 seconds, we should have atmost 4*(10^8) iterations not 10^32.you had done mathematical error. |
+9
based :D he is in fact the clownish dumb. I think because they are many according to this comment, the 1_2_3_4_5_9 TG group has about 5k members. |
+9
someone trying to solve 3sum |
+9
Hello there! I had a funny little solution for B which involving Segment Trees. My code : 261728503 Solution : Let ans be the answer we have gotten. Notice that this that OR of all a[i] to a[i+ans-1] must be equal to the OR of a[0]...a[ans-1]. We iterate through all the indices, in the array and let k be the answer we have gotten uptil now. Two cases may arise : **Case 1 : ** The OR of a[i] to a[i+k-1] = OR of a[0] to a[k-1] This means k is good for this i, and we can go to the next position **Case 2 : ** The OR or a[i] to a[i+k-1] != OR of a[0] to a[k-1 This means that k has to be incremented. Notice that if we increase k by 1, we also need to decrement i by 1, I am not really sure about why I just got the intution of doing it, because we need to check one more case? And i can never go negative because eventually if i=0, we get the base case and it has to be true All these queries can be managed with a Segment Tree. Hope you understand the solution, if you have any queries feel free to ask, and I'll try to help if possible. |
+9
Reasonable but it is impossible to have a perfect checker, so many solutions based on rng still works. For example, the 'best solution' so far requires 615 vertices in the worst case, but 75 vertices is able to pass all test cases. So the max n where you can get full marks can't be lower than 615 (unless better solutions are found), and some 'bad' solutions can still pass. Also, the solution mentioned above is obviously too easy for a problem C of APIO. |
+9
How many orange ones do you know that you were able to draw such a conclusion? |
+9
If you're assuming 1 second = $$$10^8$$$, then 4 second is $$$4 \times 10^8$$$, not $$$10^{32}$$$. $$$10^{32}$$$ is 1000000000000000000000000 times larger than $$$10^8$$$. |
+9
my bad , sorry for wrong calculation , lol all these days i was doing wrong calculation . |
+8
But why contradicting yourself ? If you weren't triggered then why create such a cheap temp acc in the 1st place to try frame heap and say complete non-sense having contribution -33. admit it that you are so dumb. :D |
+8
Really ? In the screenshot above, 3 mentioned were capable of reporting :) peaked at Candidate at least. What about the fact that one of them runs a 5K member TG group ? so you think all these reports won't suffice to trick the system into fake read only mode and content removal ? It seems there is also other reason for banning, some spammy posts as per Vladosiya, but I honestly feel it is somehow an exaggerated move to ban cuz of this ? |
+8
My solution is O(n^{1.75}) and it passed this problem. |
+8
Are all submissions tested against the test cases from successful hacks at the end of the hacking phase? |
+8
u r right,coz 56 is not true. It should be 58(seems that there is an international participant from THU high school,so 59 in China site). |
+7
Turkey looks promising. |
+7
Lol, non-sense. so ask a doubt for VS code on MAC via Hawkwatch, and solve it through heap ? Then I (bajelega) re state what was in heap comment so people can benefit (after comment removed probably due to read only mode) ? Please, attend the logic class. Why completely NEGLECT the acts of the biggest cheater in india with 5K Telegram group tho and haven't said a word about ? |
+7
sus |
+7
lol youre just making it speedforces |
+7
The key word here is consistently.
What's 'consistently'? If you mean solving them like 20% of the time is consistent then I have no more words. In the recent 5 of the rounds you participated in, there were 4 2400-rated problems and you solved only 1 of them, and 1 out of 2 2300-rated problems. This isn't consistent at all and that is why your performance averages at a little above 2200 and not 2400. Same goes for 1800-rated participants and if they can consistently solve 2100-rated problems then they should get to 2100+ in a few rounds for sure. I agree that there are some inflation for the top problems of each division, but not as much as you stated. The problem ratings, at least for low-mid problems, are working as nearly as intended. |
+7
standings — example. Do you claim all people who solved E1 are fake-CMs/Es and secretly have 2500 rating? Your point is invalid. |
+7
I did a few. I enjoyed them. So definitely worth giving them a try. |
+7
Here is how I solved C. Solution As the comment mentions, the main idea is CRT. $$$n$$$ (number of vertices)$$$ = 5000$$$. We can add edges from $$$i$$$ to $$$X$$$ % $$$i$$$ (in Alice function). if $$$X$$$ % $$$i == 0$$$ then add edge $$$(i, n)$$$ otherwise $$$(X$$$ % $$$i, i)$$$, for $$$i = 1..(n-1)$$$. how the idea came to my mind I think the idea came to my mind, when I was thinking on solving for ($$$X \leq 25 000 000$$$) using some divisors technique. Proof of graph being a tree. For each $$$v$$$ there is an edge to $$$u < v$$$ or to $$$n$$$. Now, to formally show its a tree, we can show $$$2$$$ things, that edges = $$$n - 1$$$ and there is no cycle. We are added exactly one edge from $$$i = 1..(n-1)$$$, So we added a total of $$$n - 1$$$ edges. There is no cycle because each time we add an edge we go backwards. The sole exception being edge to $$$n$$$, which is only forward and does not come backwards again. This shows there is no cycle. Now, bob gets at least $$$2500$$$ congruency equations for $$$X$$$. Since, at most $$$2499$$$ edges can be removed if $$$n = 5000$$$. If there is an edge $$$(u, v), u < v$$$ and $$$v \neq 5000$$$, $$$X$$$ % $$$v = u$$$ (a congruency equation). If $$$v = 5000$$$, $$$X$$$ % $$$u = 0$$$ (also a congruency equation). Now, we just use CRT (but I could not get the right implementation of it, So I will just tell my solution) After I failed for the implementation for $$$100$$$ points maybe caused by overflow issues. I went for small points. Now, for $$$X \leq 5000$$$. I say that check the validity for every $$$X$$$. (checking if some $$$X$$$ is valid or not is to check by putting it in every cong-equation and seeing if it satisfies, So, for each $$$X$$$, we check it's validity in $$$O(n)$$$) For $$$X \leq 25 000 000$$$, I thought how to make the previous one faster, And I thought that I should only check those $$$X$$$, if they satisfy one of my equation. So I got an equation $$$X$$$ % $$$v = u$$$ (for an edge $$$(u, v)$$$) where $$$v$$$ is maximum possible (note that $$$v \geq 2500$$$). Now I say in my for loop :
(It means that $$$X$$$ should keep satisfying this equation). Now note that, I am checking at most $$$\frac{25 000 000}{2500} = 10^4$$$ values of $$$X$$$ in $$$O(n)$$$ each, This passes as well. For $$$X \leq 10^{18}$$$. I keep the same idea, I take $$$5$$$ equations having the modulo ($$$v_i$$$) as maximum (and of course they should be pairwise co-prime) and get those equations, note that I will find all of the $$$5$$$ modulos $$$\geq 1000$$$. So, their product will be $$$\geq 10^{15}$$$. This does not causes any overflow issues as well since the product = $$$v_1 * v_2 * v_3 * v_4 * v_5 \leq 5000 ^ 5 \leq 4 * 10 ^ {18}$$$. Now, using CRT I find the final equation $$$X$$$ % $$$product = u_{final}$$$. Now, I have reduced this again to previous solution ($$$i.e \space X$$$ should satisfy this one congruency equation):
And check every X in O(n), number of X's being checked is $$$\leq 10^{18} / 10^{15}$$$ which is $$$\leq 1000$$$. Hence, finally got $$$100$$$, and felt satisfied. |
+7
Also I think it should specified that it was a random interactor since it is more fair to have actual information about the checker |
+6
I ate a lot of chocolate while testing the round. |
+6
I think codeforces is better than both of them. I hate UVA, cringe. I did some of SPOJ it is nice place to practice concepts and classical things. Here is some sheet I had used to solve on SPOJ before, http://problemclassifier.appspot.com/ Also, check this you'd find replies by ICPC finalists. There, https://youkn0wwho.academy/topic-list , you can find problems from the 3 websites! CF, SPOJ and UVA |
+6
That's good username, ain't gonna lie. |
+6
I agree. In my country the competition was only about 15 points because of easy problem A and hard BC. Maybe we have skill issue, but it's still bad to be able to get A in the first 20 minutes and struggle to get anything else the rest of the contest |
+6
Great contest, but I think that problem A could have been written in a better way: there are too many people who did it after 10 mins, meaning that the statemenet was not clear at all. Something like "an app can only be placed on a single screen" would have been enough. I was (wrongly) thinking of application on multiple screens, so that, e.g. 4 screens could contain 15 y app. Hope next time I'll be sharper in statement comprehension |
+6
Well I tried to optimize your code, eliminated the use of one map in this submission 261926879. But it still gave TLE. I initially also got a TLE during the contest on test case 14, that is because I did not notice the upper bound over all the test cases was on sum of |
+6
Thanks for the contest ! Good Problems ! |
+6
Anyone else used Segment Trees on problem G? It's a bit of an overkill, but it was my first idea and it worked. |
+6
bro come on you haven't even deleted comments from your code while copying and pasting from chatgpt ahahahhahaha |
+5
Unofficial Editorial for some more problems. Problem F Tutorial Okay so if the array already has all equal elements then the answer is 0. Otherwise we can only make elements equal to any one value in this set {0, 2, 4, 6, 8}. Proof: Since we are doing the opearation $$$a[i]$$$ := $$$a[i]$$$ * $$$2$$$ % $$$10$$$. This operation will always make the number even and even numbers can only end with one of the possible values in that set. Now there is an edge case {0}. We can notice than all other numbers except {0} can be transformed into each other, in this cycle {2->4->8->6->2}. Therefore we can use this cycle to calculate operations required. About {0} the array can be made {0} iff the entire set has last digit as {0} or can be transformed into {0}. Now % operations are very slow so instead we can use if / else statements or some math to calculate min operations required to go from 'x' -> 'y'. Also we can transform the array into numbers in the set by preapplying opeartions to save time and in the result add these extra operations. So just calculate and check answer for each value in the possible set and print the minimum. Code
Problem K Tutorial The max distance b/w any two nodes in the tree is called diameter. So we can find these two nodes for the given tree. Now after finding these nodes all that is left is to find a node whose distance from both these nodes > k. Both these things can be done with dfs. Code
Problem J Tutorial The number of pairs (a,b) with lcm(a,b)=n is equal to $$$(2*e_{1}+1)*(2e_{2}+1)...(2*e_{k}+1)$$$ where N = $$$p^e1 * p^e2 * p^ek$$$ are powers of primes factors of N. code
|
+5
On the technical committee end, I saw a whole bound of n^{1.5}logn get by in between 200-400ms. 2 and 3 both could have had much harder subtasks: trying to get people to put up apio24p2hard and apio24p3hard on DMOJ at the moment... |
+5
Indeed! Heap__OverFlow.'s comment in reply to mod Vlad, was removed and banned despite it was at +31. Something very fishy looks to be happening even 34z12000's comment in reply to mod Vladosiya was removed too but without a readonly mode. |
+5
Going off of what WeaponizedAutist said, anyone with a passion for solving math/coding problems, on average, has high mathematical ability. You aren't gonna enjoy solving problems if you're no good at it. If you solve thousands of problems, chances are that you're intelligent. This is partially why many masters/GMs have solved so many problems relative to other users: they didn't quit because they enjoy it, and they enjoy it because they are good at it. Practice, of course, plays some role in attaining master+ rank too. Your comment is also kind of beside the point. Hypothetically, if you forced 100 people with average IQs to grind codeforces for a few years, there is a good chance that none of them would be master. |
+5
wala???? |
+5
XD You are right. I missed that. Thanks |
+5
Bro is proud of ChatGPT solutions (Does look like that with all those comments, solution time and weird mistakes in testcase 1? Idk if that's even legal, correct me if I am wrong) |
Name |
---|