Many of my submissions resulted in WA when i used %I64d rather got AC when i used cin for scanning them , anyone tell me the difference .
Even many solutions got TLE when i used cin , got AC by scanf.
This is really annoying.
Can sometime tell me a better way of handling.