Comments

There is a solution to problem D that does not need the statement max(p_i, p_{i+1}) > p_{i+2} to be true, and it does not have to a be permutation either meaning it will work for any array.

Ideas is to calculate for each index i where 0<=i<n, if r = i, what would the answer be and sum of them is the final answer. To calculate it we use idea of Longest Increasing Subsequence in O(n log n), but it is Longest Decreasing Subsequence now.

Overall time complexity is O(n log n).

Link to the submission: https://codeforces.me/contest/2128/submission/331402684

Still doesn't seem that clear. What should be the output for:

5 4
#...
..#.
....
#.#.
##..

Is it 26 14 which includes perimeter inside, or 18 14 which doesn't

On ismoilmirzouz → Matter of seconds, 20 months ago
0

You also participated well

Improve your CP ability instead of doing nonsense.

+1

I think it is just matter of time before rating loses a bit of interest and thus people wouldn't care about rating and it becomes just like chess.

Seems like bot is down for a week or so.

On happy-frog → Codeforces Applications, 2 years ago
0

you can easily ensure the person by asking to send compilation error to particular problem

so, you confirm that you just copy-pasted it and expect upvotes

Don't stop participating in contests after one successful round because you know your rating is higher than normal and you will lose it

I agree with this point of you. I stopped participating in contests when i first reached expert and after not participating for a while i understood this was a mistake as i am specialist now.

Is it the last year of high-school or is there 12th grade too (I'm asking because it is different for some countries)

It took me 2 hours for B and 15 minutes for D.

On NaZaR.IO → KEP Contest #5, 3 years ago
+3

Hope it will be great contest, we needed it as cf schedule was empty

do you really think your opinion matters.

Is it published, few weeks have passed.

I think you can use Bybit to do it. I mean even if it is restricted i used VPN to enter and with Uzbekistan's(also blocked) National ID Card i was able to get verified. So, you can try it too.

I think solutions are missing in the first link you provided.

On marzipan → Good Bye 2023, 3 years ago
+52

I know really think that this round should be UNRATED

stop necroposting, he is not even active

me too

I try to reach master by the end of the next year

..

On awoo → Codeforces Round 916 (Div. 3), 3 years ago
0

even your name can illustrate how much you like dp :)

On awoo → Codeforces Round 916 (Div. 3), 3 years ago
0

Good approach, thanks for sharing

On awoo → Codeforces Round 916 (Div. 3), 3 years ago
0

can you explain it

On awoo → Codeforces Round 916 (Div. 3), 3 years ago
+1

Queueforces

Probably, ~1300, but i'm not sure

My solution for problem C

To count how many we have for each power use vector or just ordinary array with 30 elements for each power of 2 that could be entered (0 to 29).

For the first type of operation, just increment that value in the vector.

For the second type of operation, go through from 29 to 0 and subtract until the values are finished(refer to the first vector for how many you have with that power of two) or v which was input has less value than the power of 2 we want to subtract. At the end, check if v is 0 or not, if it is answer is "YES", otherwise it is "NO"

You can refer to my submission here: 237768705

you mean problem C?

C <<<< D

i think there is huge gap between them

constructive problems improves observation skills which are useful even in other types of problems.

+8

UPD: tourist now officially won

0

for me C>A>B

+4

scoreboard may change. but that is super rare

can you tell me why this solution won't work:

https://codeforces.me/contest/1900/submission/234481346

Can someone who was able to solve E can explain why this won't work for E, or report any points i missed:

code

i personally suggest and prefer https://ide.usaco.guide

0

he meant you became CM in last contest

this is same as what i've figured out :lol:

it means round is too difficult :)

But for some other countries wouldn't it be too early

Wouldn't it be better if it started at 19.35 as usual ?

I made video explaining problems A&B&C&D : https://youtu.be/g7OJ3GVzIhM

I thought it would be useful

I made video explaining problems A&B&C&D : https://youtu.be/g7OJ3GVzIhM

I thought it would be useful

On ch_egor → Pinely Round 2 Editorial, 3 years ago
-24

Video tutorial for problems A&B&C in english: https://youtu.be/X08zbEDtaI8

Thought would be useful to the community

On pinely → Pinely Round 2, 3 years ago
0

Video tutorial for problems A&B&C in english: https://youtu.be/X08zbEDtaI8

Thought would be useful to the community

Video tutorial for problems A&B&C explained: https://youtu.be/y5QoCUF7hpQ IN ENGLISH Thought would be useful

Video editorial for problems A&B&C&D: https://youtu.be/aEB8NXX-lxA

Thought would be useful

IN ENGLISH

Video editorial for problems A&B:

https://youtu.be/p-nKn3Hg9JE

Thought would be useful!

IN ENGLISH

Video editorial for problems A&C: https://youtu.be/8HABUgytApk

Thought would be useful for newbies(some of the pupils)

0

made video explaining A&B&C&D:

https://youtu.be/elQ4jmUfYqM

thought would be usefull for community

+11

made video explaining A&B&C&D:

https://youtu.be/elQ4jmUfYqM

thought would be usefull for community

Video-editorial for problem A&B: https://youtu.be/41aWz1C4QJc

thought would be useful

On mistake12 → CM Journey: 1261-1900+, 3 years ago
0
On Ashwanth.K → Good Observations:, 3 years ago
0

thank you too

Great!

Wow! That's great that you were able to solve A,B,C in your first contest, congratulations. Did you prepare to be able to solve 3 problems or is it your first time solving cp questions ?

Found your app really great and helpful. This is great way to see upcoming contests

Thanks for addressing discrimination and proposing a modification to create a fairer Codeforces community. If that problem gets solved Codeforces will become much more fair.