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

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

I met with some weird problems when solving https://mirror.codeforces.com/contest/1599/problem/C The question is simple, but plz take a look at these 4 submissions below:

Case 1:

https://mirror.codeforces.com/contest/1599/submission/133010155

https://mirror.codeforces.com/contest/1599/submission/133010068

The only difference is the "inline" of the function double mypr.

Take a look at the test cases for more information.

Case 2:

https://mirror.codeforces.com/contest/1599/submission/133012557

https://mirror.codeforces.com/contest/1599/submission/133012618

The only difference is the "cout" line in function int solve.

Also take a look at the test cases for more information.

Compiler: GNU G++14 6.4.0

Everything works fine on my local environment, G++11/14 or else.

So is there any problem with codeforces, or is it my fault?

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

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