QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#378191#8567. Cheap Constructionucup-team2045#ML 1ms3780kbC++143.2kb2024-04-06 09:25:192024-04-06 09:25:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3780kb

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: