QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#101652#6189. Full Clue ProblemQiulyAC ✓2ms3736kbC++141.4kb2023-04-30 17:04:512023-04-30 17:04:52

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3736kb

input:

5

output:

3 2 1 0 0
2 2 2 1 0
1 2 2 2 1
0 1 2 2 2
0 0 1 2 3
1 0 0 0 0
1 1 1 0 0
0 0 1 0 0
0 0 1 1 1
0 0 0 0 1
1 1 0 0 0
0 1 0 0 0
0 1 1 1 0
0 0 0 1 0
0 0 0 1 1

result:

ok ok

Test #2:

score: 0
Accepted
time: 2ms
memory: 3684kb

input:

2

output:

3 2
2 3
1 0
1 1
1 1
0 1

result:

ok ok

Test #3:

score: 0
Accepted
time: 0ms
memory: 3436kb

input:

3

output:

3 2 1
2 2 2
1 2 3
1 0 0
1 1 1
0 0 1
1 1 0
0 1 0
0 1 1

result:

ok ok

Test #4:

score: 0
Accepted
time: 2ms
memory: 3560kb

input:

4

output:

3 2 1 0
2 2 2 1
1 2 2 2
0 1 2 3
1 0 0 0
1 1 1 0
0 0 1 0
0 0 1 1
1 1 0 0
0 1 0 0
0 1 1 1
0 0 0 1

result:

ok ok

Test #5:

score: 0
Accepted
time: 2ms
memory: 3540kb

input:

10

output:

3 2 1 0 0 0 0 0 0 0
2 2 2 1 0 0 0 0 0 0
1 2 2 2 1 0 0 0 0 0
0 1 2 2 2 1 0 0 0 0
0 0 1 2 2 2 1 0 0 0
0 0 0 1 2 2 2 1 0 0
0 0 0 0 1 2 2 2 1 0
0 0 0 0 0 1 2 2 2 1
0 0 0 0 0 0 1 2 2 2
0 0 0 0 0 0 0 1 2 3
1 0 0 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0
0 0 1 1 1 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0
...

result:

ok ok

Test #6:

score: 0
Accepted
time: 2ms
memory: 3432kb

input:

19

output:

3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 2 2 2 1 0 0 0 0 0 0 0 ...

result:

ok ok

Test #7:

score: 0
Accepted
time: 2ms
memory: 3500kb

input:

20

output:

3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 1 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 2 2 2 1 ...

result:

ok ok