UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#94683#1248. 同行列对角线的格子jerry201831000ms1200kbC++671b2020-02-18 15:30:012020-02-18 15:30:03

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

9 6 4

output:

(6,1) (6,2) (6,3) (6,4) (6,5) (6,6) (6,7) (6,8) (6,9) 
(1,4) (2,4) (3,4) (4,4) (5,4) (6,4) (7,4) (8,...

result:

ok 4 lines

Test #2:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

4 4 1

output:

(4,1) (4,2) (4,3) (4,4) 
(1,1) (2,1) (3,1) (4,1) 
(4,1) 
(4,1) (3,2) (2,3) (1,4) 

result:

ok 4 lines

Test #3:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

1 1 1

output:

(1,1) 
(1,1) 
(1,1) 
(1,1) 

result:

ok 4 lines

Test #4:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

5 3 3

output:

(3,1) (3,2) (3,3) (3,4) (3,5) 
(1,3) (2,3) (3,3) (4,3) (5,3) 
(1,1) (2,2) (3,3) (4,4) (5,5) 
(5,1) (...

result:

ok 4 lines

Test #5:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

6 4 6

output:

(4,1) (4,2) (4,3) (4,4) (4,5) (4,6) 
(1,6) (2,6) (3,6) (4,6) (5,6) (6,6) 
(1,3) (2,4) (3,5) (4,6) 
(...

result:

ok 4 lines