3146: vector-简单添加整数并输出

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:7 Solved:7

Description

从键盘输入若干整数,使用 push_back 依次添加到 vector 中,最后输出所有元素。

Input

第一行输入整数个数 n,第二行输入 n 个整数。

Output

输出一行所有元素,空格分隔。

Sample Input Copy

3 
1 2 3

Sample Output Copy

1 2 3