1391A - Suborrays
31 Oct 2020 — Tags: None
Click to show code.
using namespace std;
int main(void)
{
int t, n;
cin >> t;
while (t--)
{
cin >> n;
for (int i = 1; i <= n; ++i)
cout << i << " ";
cout << endl;
}
return 0;
}