Cin bug — Google KickStart [Help]

Revision en2, by coachBr, 2020-07-10 14:25:48

Hello guys. Today, i was practice past Google KickStart problems. But, always that i used the cin object, all answers turn on zero.

For example, for this problem: problem link

I think the which problem do not matter. My problem is only with cin object.

Using scanf, i got ACC:

ACC code

Using object cin, works locally well, but when i submitted, i got all outputs igual to zero:

Zero outputs

Can anyone help me?

Thanks for your help.

Tags #help, #googlekickstart, cin, #bug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English coachBr 2020-07-10 14:25:48 22
en1 English coachBr 2020-07-10 14:24:20 1699 Initial revision (published)