Toggle navigation
Contest Tasks
Submissions
Q & A
Dashboard
Sign in
Sign up
564 . 數字塔
Status
Ranklist
Back to Problems List
TopCoder
User's AC Ratio
NaN% (
0/0
)
Submission's AC Ratio
NaN% (
0
/
0
)
Tags
Show solution-related tags
Description
請讀入一個數字 $n$,並輸出如範例所示的數字塔
Input Format
輸入有一個正整數 $n$
$1\le n \le9$
Output Format
請輸出如範例的數字塔,共有 $n$ 層
注意:每一層最後面不需要空白,直接換行即可
Sample Input 1
copy
5
Sample Output 1
copy
1 1
22 22
333 333
4444 4444
55555 55555
Hints
Problem Source
NEOJ Problem 893
Subtasks
No.
Testdata Range
Constraints
Score
1
0
10
2
1
10
3
2
10
4
3
10
5
4
10
6
5
10
7
6
10
8
7
10
9
8
20
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
65536
65536
1
1
1000
65536
65536
2
2
1000
65536
65536
3
3
1000
65536
65536
4
4
1000
65536
65536
5
5
1000
65536
65536
6
6
1000
65536
65536
7
7
1000
65536
65536
8
8
1000
65536
65536
9
Back to Top