Skip to content

Commit 0aa4a80

Browse files
Create (CODECHEF)FAKEGCD.cpp
1 parent b9fe3fb commit 0aa4a80

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
#include<bits/stdc++.h>
3+
using namespace std;
4+
5+
int main()
6+
{
7+
int T;
8+
cin>>T;
9+
while(T--)
10+
{
11+
int n;
12+
cin>>n;
13+
for(int i=n; i>=1; i--)
14+
{
15+
cout<<i<<" ";
16+
}
17+
cout<<endl;
18+
}
19+
return 0;
20+
}

0 commit comments

Comments
 (0)