Input
第一行一个正整数 n;
第二行连续输入 n 个 int 型整数。
Output
输出一行,将这 n 个整数按输入顺序输出。
Samples
输入数据 1
9
0 1 2 3 4 5 6 7 8
Copy
输出数据 1
0 1 2 3 4 5 6 7 8
Copy
输入数据 2
9
2 3 4 5 6 7 8 9 10
输出数据 2
2 3 4 5 6 7 8 9 10
代码:
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn = 1e6 + 5;
int main()
{
int len, n;
cin >> len;
for (int i = 0; i < len; ++i) {
cin >> n;
cout << n << " ";
}
return 0;
}