Type: Default 1000ms 256MiB

数组一维转二维

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

输入一个一维数组,按要求建立如下二维数组,并输出

Input Format

第一行一个整数n<=500 第二行,连续n个整数。

Output Format

按要求的二维数组

Sample

input

4(一维数组的元素个数,保证元素个数小于等于40)
3 2 9 10  (一维数组的各个元素,用空格隔开,保证每个数为长整范围)

output

3 2 9 10
2 9 10 3
9 10 3 2
10 3 2 9

Hint

时间限制:1s1 \text {s}

空间限制:256MB256 \text {MB}

20200818二维数组练习

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
11
Start at
2020-8-18 8:25
End at
2020-8-21 8:25
Duration
72 hour(s)
Host
Partic.
23