JCLC

Untitled

May 13th, 2016
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.     int x, i, y[100000], z;
  5.  
  6.     scanf("%d", &x);
  7.  
  8.     for(z = 0; z < x; z++)
  9.         scanf("%d", &y[z]);
  10.  
  11.     scanf("%d",&i);
  12.  
  13.     for(z = i; z < x; z++)
  14.         printf("%d\n", y[z]);
  15.  
  16.     for(z = 0; z < i; z++)
  17.         printf("%d\n", y[z]);
  18.  
  19.     return 0;
  20. }
Add Comment
Please, Sign In to add comment