QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#379424#8567. Cheap Constructionucup-team221#ML 0ms9796kbC++202.0kb2024-04-06 17:29:112024-04-06 17:29:13

Details

Tip: Click on the bar to expand more detailed information

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: