fishcurry's blog

By fishcurry, history, 11 months ago, In English

As New Year's is coming up. I know that one has been able to change username during New Year's. I have found a name that I would like to change into, however this name has been taken by an account which has been offline for a long time 8+ years.

I know some other platforms which allow such accounts' usernames to be taken by other accounts. Is that / is it going to be possible on Codeforces?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By fishcurry, history, 2 years ago, In English

I think I might have found some cheating, not sure though. 175998571 is the only submission currently hacked for E in Codeforces round 827. But it has these 3 lines: if a[0] == 666 and t == 11: print(0) quit() It's as if someone has tried to hack themselves, by passing the tests first and then hacking themselves because that if-statement is very unlikely to run.

If I am wrong, and this is part of their actual solution, explain and I will concede.

Full text and comments »

  • Vote: I like it
  • -10
  • Vote: I do not like it

By fishcurry, history, 3 years ago, In English

66B - Petya and Countryside Submission: 155219826

My idea was the same as the editorial:

Simulate the rain on all the blocks.

First I simulate the rain on the blocks indexed at 1 to n-2.

Then I simulate the rain on blocks indexed at 0 and n-1.

I update the maximum if necessary.

But I am still failing test cast 53.

Why is that?

Full text and comments »

  • Vote: I like it
  • -14
  • Vote: I do not like it

By fishcurry, history, 3 years ago, In English

Problem: 1560F1 - Ближайшее красивое число (упрощённая версия)

Hi, in my submissions: 127141856 and 127141658, the code is the same. However I am failing testcases which I am not failing in custom test on the website "https://mirror.codeforces.com/problemset/customtest". For example in the submisson 127141658, I am failing on the testcase where n = 10 and k = 1, where the "supposed output" is 1110, but in the custom test, I would get the correct output "11" , if I wrote an input where t = 1, n = 10, and k = 1.

In the other submission I tried to use C++14 compiler instead of C++17. I still end up failing a similar case which doesn't fail in custom test.

Why is this happening?

Any information would be appreciated.

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it