Last active
July 3, 2016 18:11
-
-
Save joaogui1/23a29b1fe8d1bdc74f98b85f60b858c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cin >> n; | |
int i = 0; | |
cin >> x[0]; | |
++i; | |
if(i >= n){ | |
break; | |
} | |
cin >> x[1]; | |
++i; | |
if(i >= n){ | |
break; | |
} | |
cin >> x[2]; | |
++i; | |
if(i >= n){ | |
break; | |
} | |
... | |
cin >> x[n - 1]; | |
++i; | |
if(i >= n){ | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment