NTaveras's blog

By NTaveras, 7 years ago, In English,

Hello,

My friend slugo was trying to solve Problem 348A - Мафия 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!.

Read more »

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