647 Div 2 Wrong answer on Codeforces, Correct answer on same test case case locally!!

Правка en2, от kaiyu, 2020-06-05 08:41:00

Problem: https://mirror.codeforces.com/contest/1362/problem/A

My Submission: https://mirror.codeforces.com/contest/1362/submission/82595064

Test Case which it fails on: 7 576460752303423481

Correct Answer: -1

Answer when you run it locally:-1

Answer by Codeforces System:1

You can check the test case details of my submission.

Why Codeforces gives WA on this code?

I ran the code on CLion by JetBrains.

Also I ran it on Codeforces Custom Invocation:

It gave -1 as expected, but while testing my code idk why it gave WA.

Теги wrong answer, wrong answer on contest, #codeforces, #where wrong

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский kaiyu 2020-06-12 11:20:52 5
en2 Английский kaiyu 2020-06-05 08:41:00 136
en1 Английский kaiyu 2020-06-05 08:31:46 498 Initial revision (published)