Advertisement
noshin98

1

Oct 14th, 2016
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. /*Bismillah*/
  2. #include<stdio.h>
  3. int main()
  4. {
  5.     long long  c,i,e,j;
  6.     while(scanf("%lld",&c)==1)
  7.     {
  8.         for(i=1;i<=c;i++)
  9.         {
  10.             scanf("%lld",&e);
  11.             for(j=0;j<=e;j++)
  12.             {
  13.                 printf("%lld ",j);
  14.  
  15.             }
  16.             printf("\n");
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement