QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#379424#8567. Cheap Constructionucup-team221#ML 0ms9796kbC++202.0kb2024-04-06 17:29:112024-04-06 17:29:13

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 9796kb

input:

1
3
1 1
2 2
1 3

output:

1 1
1 3
3 2

result:

ok 3 lines

Test #2:

score: -100
Memory Limit Exceeded

input:

2
3
1 1
1 2
3 1
3
1 3
2 1
3 3

output:


result: