Skip to content

Commit

Permalink
feat: easy day 19 solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushivam22 committed Apr 13, 2024
1 parent 51b8795 commit 62f66dc
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion easy/day_19/solution.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
//write your code here
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
cout << n << endl;
for (int i = 1; i <= n; i++)
{
cout << i << " ";
}
cout << endl;
}
}

0 comments on commit 62f66dc

Please sign in to comment.