Advertisement
anon07
Aug 16th, 2023 (edited)
57
0
Never
This is comment for paste problem/1858/A
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. It's not valid to use ++ go. Try this: for (int go = 0; go < t; ++go) {
  2. //
  3. }
  4.  
  5. Alternatively, you can use go++ as follows:
  6.  
  7.  
  8. for (int go = 0; go < t; go++) {
  9. //
  10. }
  11. Both of these options are valid and will increment the value of go properly for each iteration of the loop. Other than this, the code appears to be free from errors and should work as intended.
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement