Created
July 11, 2016 21:32
-
-
Save KhaledElshamy/6bc0b55cf8425159e05a11ef84e6a6db to your computer and use it in GitHub Desktop.
URI ONLINE JUDGE 1177
This file contains hidden or 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
| #include <stdio.h> | |
| int main() { | |
| //URI ONLINE JUDGE 1177 | |
| unsigned int a,i,j,k=0; | |
| scanf("%u", &a); | |
| for (;;) | |
| { | |
| for (j = 0;j < a;j++) | |
| { | |
| printf("N[%u] = %u\n", k, j); | |
| k++; | |
| if (k == 1000) | |
| break; | |
| } | |
| if (k ==1000) | |
| break; | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment