Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int x, i, y[100000], z;
- scanf("%d", &x);
- for(z = 0; z < x; z++)
- scanf("%d", &y[z]);
- scanf("%d",&i);
- for(z = i; z < x; z++)
- printf("%d\n", y[z]);
- for(z = 0; z < i; z++)
- printf("%d\n", y[z]);
- return 0;
- }
Add Comment
Please, Sign In to add comment