NTaveras's blog

By NTaveras, 11 years ago, In English

Hello,

My friend 53645 was trying to solve Problem 348A - Mafia and after getting lots of Wrong Answer he changed a few variables from long long to int and got Accepted.

Can anyone please explain what happened? We couldn't find an explanation.

Wrong answer using long long: 4600792

Accepted using int: 4600933

You can use Diffnow to see the difference in both codes highlighted.

Thanks!.

Full text and comments »

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