3141: vector-固定个数输入
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:9
Solved:8
Description
先输入一个整数 n,表示接下来要输入 n 个整数。将这些整数依次存入 vector v 中,然后按输入顺序输出所有整数,每个整数后跟一个空格。
Input
第一行一个正整数 n;第二行包含 n 个整数,用空格分隔。
Output
一行,依次输出 v 中的所有整数,数字之间用空格隔开,末尾也有一个空格。
Sample Input Copy
5
1 2 3 4 5
Sample Output Copy
1 2 3 4 5