|  | 
|  | 
| вернуться в форум | To Admins To solve this problem we must use 64-bit variable. When i wrote in my code "printf("%lld\n",res)" i've got WA on test number 7. But when i wrote "cout<<res<<endl",i've got AC. My friend had the same problem. So what does it mean?Re: To Admins Sorry, i must be more careful and write "printf("%I64d\n",res)". | 
 | 
|