Comments

My solution is also wrong in this case. Can you help me?

In problem E, the writer says "This will be the optimal answer because all the cards taken from array a will be at least as large as all the cards that have not yet been taken from array b , meaning there is no point in making additional swaps of cards from one array to another." Can any explain this? I don't understand.

On WxssimFrom 0 to ICPC in 1 Year, 12 months ago
0

Congratulations. Thanks for your stories. And have learnt something. I am practicing intensively for the Vietnamese National ICPC and hope to qualify for the Finals one day.

I think task 1 can be solve using offline queries or persistent segment tree for online.

I have no ideas why I got wrong answer on problem G: https://codeforces.me/contest/1980/submission/264341580. My solution is the same as editorial.

In problem 1874C — Jellyfish and EVA, in second test case, I have no idea why the output is "0.625000000000".Please explain to me.

I got it, thanks.