QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#193189#7510. Independent Setucup-team017#ML 0ms3724kbC++141.2kb2023-09-30 16:34:082023-09-30 16:34:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
0 1 2 0
0 0
0 2
0 1
0 0
0 0
0 0
0 0
0 0
0 1

output:

? 4 1 3 2 4
? 2 1 1
? 2 1 2
? 2 1 3
? 2 2 2
? 2 2 3
? 2 2 4
? 2 3 3
? 2 3 4
? 2 4 4
! 4 1 2 1 2 1 3 4 4 

result:

ok Ok, Accepted!

Test #2:

score: -100
Memory Limit Exceeded

input:

4000
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0...

output:

? 4000 2896 3146 3147 3912 2000 581 343 1333 2981 1753 2794 1820 586 13 3570 948 2024 126 610 1115 241 3576 3104 3984 488 3652 701 2405 978 592 3259 421 3068 1106 1078 1015 377 3 1838 2807 3763 757 3344 3270 2609 2077 3217 3930 231 1170 3180 1507 3302 1721 835 2567 3987 939 1494 735 2901 1123 1731 6...

result: