| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | Radewoosh | 3415 |
| 8 | Um_nik | 3376 |
| 9 | maroonrk | 3361 |
| 10 | XVIII | 3345 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 162 |
| 2 | adamant | 148 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 143 |
| 5 | errorgorn | 141 |
| 6 | cry | 138 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 10 | soullless | 133 |
|
0
The problem statement actually means that "Each character(i.e each element) of the whole string belongs to exactly one sub string." Here characters at different indexes are considered different. |
|
+4
Are you getting correct answer for 4 1 2 2 3 ? Using your approach you should get -1, but answer exists and is equal to 2 3 1 2 |
|
+1
I found a test case where your solution might fail. What's your answer for 4 1 2 2 3? |
|
0
The editorial for C says 'Notice that order a[n/2], a1, a[n/2+1] ... is not always correct, see 112.' What is 112? UPD: I think it is the test 3 1 1 2 ? |
|
-6
hmehta Its been some time now. Has the eligible winners list announced(maybe in the forums)? |
|
+3
Sorry, I thought this thread was of SRM 2 :) |
|
+3
Has the list of winners announced? |
|
+4
This outline makes complete sense. Such a short solution for such difficult problem! Beautiful |
|
+5
"Ideally, if you want to report that some users have cheated, or if you want to appeal against having been caught for plagiarism, you should only send an email to help@codechef.com, and wait for a few weeks to get a reply." : admin |
|
+8
How is commenting on the ALL the blogs of long challenge about cheating going to help? There are already many blogs posted about the YT channels/similar submissions/telegram groups and I am pretty sure the admins(CF and CC both) are looking for some means to stop that. But commenting again and again (and even tagging the admins) doesn't make the whole matter more irritating for the people who are actually creating these contests and maintaining these platforms for us? I am a problemsetter for the problem WIPL of long challenge, and you know what makes me more sad than seeing the various videos of the solution? : seeing all the blogs literally saying "All the team's work went in vain". |
|
0
I think making this contest, or rather any contest unrated is hardly going to make a difference. The Community needs something more promising than that. |
|
+6
For problem Div2 E, 99886275 is just so cool. |
|
On
KAN →
Codeforces Round 687 (Div. 1, Div. 2) and Technocup 2021 — Elimination Round 2, 5 years ago
+9
Why? The problems were pretty balanced, statements pretty clear |
|
0
B and D should interchange their position :) |
|
0
How would the solution change in Div2 D if it was also said to output the selected 2 substrings for which we are getting the best similarity? Any clues or suggestions are appreciated. |
|
0
Maybe the hardest thing to encounter Can anyone check why this fails in one test case? https://atcoder.jp/contests/abc161/submissions/17260017 |
|
0
For problem E, should x always start from 0? or rather from 0 only when k is even and start from 1 when k is odd. |
|
0
There are repetitions in your formula. For n = 4 the answer is 974. Check with your submission |
|
0
This might help https://atcoder.jp/contests/abc178/submissions/16705345 I sorted the points considering points to be equal if they lie in the same circle centered at the origin |
|
0
What was the approach for F? |
|
+15
I understand, I thought there's just 1 minute left which won't really make any difference. One cannot implement it that quick. Sorry though I should have been a bit more patient |
|
0
Any ideas on how to do F? If the frequency of any number in first array is greater than n — (frequency of that element in the second array) than answer is "No" else answer exists. I made a logic that the maximum frequent number in the first array will get the least frequent number from the second array. If there are multiple numbers with the same frequency then the smallest number with the smallest frequency goes to the largest number with the largest frequency. I was not quite able to implement it. |
|
+3
Aah, of course it is correct, got my mistake i use using INT_MIN instead of LONG_LONG_MIN ;-) |
|
0
Is this approach correct? Sort the array then take |
|
+3
How can we solve E using DP? |
|
0
That's what i think too. They have even used that in emaxx.. |
|
0
What's the use of |
|
0
For E, try to imagine how the number of cuts is related to the maximum height of the chopped logs. If we have less k(suppose 0) then the answer will increase i.e the maximum height of the logs after chopping will be comparitively greater. If the number of cuts allowed is more(suppose 100000) then for a fix number of logs we can cut them more times than when cuts was 0, hence the maximum optimised length of any log will be less. Thus more the number of cuts, lesser will be the maximum length, when chopped optimally. Now, can you apply BS here? Sure you can :) |
|
+1
Intitially i thought there must be some pattern, but after struggling for some time solved it using school mathematics. Important observations, 1) if n is even answer is always -1 2) answer cannot exceed the number itself. Check out my solution https://atcoder.jp/contests/abc174/submissions/15619615 |
|
0
gupta_samarth I just went through your solution for E, phi[i] gives the count of numbers from 1 to i which are coprime with i. now = expo( k/g, n ) means inserting all the multiples of g in the array of size n . What I don't understand is that why did you do phi[g]*now ? |
|
0
May be there approach was different , which does not directly depend on parity of elements.. maybe |
|
+10
The contest has been declared unrated due to some invalid inputs for problem D :( |
|
0
This might help a bit. |
|
0
Absolutely right ,Fermat's theorem is a special case of euler's but are there problems where direct application of euler's theorem is required.i.e we need to some how use the number of conprimes less than n. Thanks in advance. |
|
-8
That's application of Fermat's little theorem, not euler. |
|
0
If p divides q your answer returns n/p which is not correct as if l =1 r= 10 p=3 q= 6 . The answer will be 2 not 3. Your solution here gives all f(x,p) >= f(x,q) but we need f(x,p) > f(x,q). This can be removed by removing this case. |
|
0
Regarding Marcin and Training Camp . It is written that if any student has a set of skill strictly less than the skills of everyone in any group then he can be safely included. Consider this example in which the group consists of skills 4(100) and 4(100) ,now including 1(001) will make him think himself better than others because no one else in the group has first bit set. Am i missing something ?? |
|
0
Thanks for your efforts Geothermal this is true contribution. |
|
0
We can do this , lets define the level of any "()" to be the number of opening brackets under which it appears so just count number of "()" and for every "()" also add in the answer the number of balanced substrings appearing in that level . |
|
0
Auto comment: topic has been updated by heath_cliff (previous revision, new revision, compare). |
| Name |
|---|


