Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Comments

How to do div2 900?

Just write some cases, for example take initial ON switches=>2,3,5 and check what will be the position "among ON bulbs" of 10th bulb in this case, you will understand how inclusion-exclusion principle is working here. The solution is (binary)searching the first bulb from left such that its position is >=n, which would be at nth position.

yes apparently it has stopped showing atcoder contests. I missed a contest because of this :(

D is not that hard imo

Basically there will be two cases: 1)When x is more than or equal to half of volume of container. For this you have to equate volumes like:- x=Total volume-volume of upper triangle formed. x=(a*a*b) — ( (a*a*a*tan(theta))/2 ) 2)When x is less than half of volume of container For this case you have to equate volume of lower triangle with x. x=(a*b*b*tan(PI-theta))/2 you will get theta from here, print it by converting to degrees

this might help link. feelsbadman T_T

'Cause, baby, toniiiight

woah your shirt changing color with rating xD

On majkCodeforces Global Round 4, 5 years ago
0

really kyot solution

i overcomplicated the problem :\

welcome, But just a suggestion, don't call people sir/ma'am online, it is annoying o_O

you can use this bfs dfs

problems are at the end of the page

noice bfs problem link

-8

i like Ashishgup's codes, very clear and easy to understand

+27

everyone makes mistakes, it is fine, ignore the haters

On gop2024Codeforces Round #569, 5 years ago
0

thanks

On gop2024Codeforces Round #569, 5 years ago
0

Edit:nvm i got it

you forgot to mention contest code "565(Div3)" in the title. btw thanks for editorial

nice

wow 3 hacks, how did you get them? was there a corner test case or something?

just copy the algorithm from emaxx and get AC. Life is too short to waste time on implementation details. Better use that time to solve more problems :)

use CC="Competitive Coding". Problem Solved

good luck

On adshin21All Div3's Links, 5 years ago
0

noice

ONCES hwaiting!!!

There should be rating penalty (like codechef) for any unfair practice.

+17

downvote if you get OMELGALULRIP reference upvote if you don't know what it is

lyrical ballad==mumble rap

Best Explanation, Thank You.

+4

*contest

On HosseinYousefiBecoming IM by 2020, 5 years ago
+5

Good Luck

i feel like my brain expanded after solving E xD

0

really? i brute forced the whole solution :P

0

in D i used grammarly to get the grammatically correct sentence to make it readable. rip

0

I guess it is "min" element. btw which message are you talking about?

+28

how did you even come up with that solution?

0

you got April fooled

+40

I have seen some previous years April Fools Contest problems but this is the lamest April Fools Contest of all time. No offence

Not all Atcoder contests are shown, please look into it.

Besides thank you for making this tool, i am using this tool for more than 1 year and it is awesome.

D is noice

On JustInCaseGood DP problems, 5 years ago
0

noice

D is one hell of a question.

+9

how to S?

Alice and Bob means game theory A or B

On MikeMirzayanovNew Year Gifts 2019!, 5 years ago
0

Thank You for the gift