Блог пользователя fishcurry

Автор fishcurry, история, 11 месяцев назад, По-английски

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?

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор fishcurry, история, 2 года назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -10
  • Проголосовать: не нравится

Автор fishcurry, история, 3 года назад, По-английски

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?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -14
  • Проголосовать: не нравится

Автор fishcurry, история, 3 года назад, По-английски

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://codeforces.me/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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится