QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#535881#8553. Exchanging Kubicucup-team934#WA 39ms3596kbC++142.2kb2024-08-28 16:09:402024-08-28 16:09:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3
1
0
1
1
5
2
0
3
0
5
4
5

output:

? 1 1
? 2 2
? 3 3
? 1 3
! 1 -1 1 
? 1 1
? 2 2
? 3 3
? 4 4
? 5 5
? 1 3
? 1 5
! 2 -1 3 -4 5 

result:

ok ok (2 test cases)

Test #2:

score: 0
Accepted
time: 39ms
memory: 3504kb

input:

10000
1
718876398
1
0
1
0
1
0
1
938356223
1
857157125
1
0
1
0
1
0
1
0
1
0
1
965894497
1
0
1
626061677
1
642094813
1
107398046
1
0
1
0
1
0
1
287188651
1
0
1
345108193
1
0
1
0
1
714952783
1
0
1
325760098
1
0
1
800487422
1
322806679
1
0
1
0
1
0
1
866952779
1
741483102
1
492063609
1
0
1
833448280
1
0
1
...

output:

? 1 1
! 718876398 
? 1 1
! -1000000000000000 
? 1 1
! -1000000000000000 
? 1 1
! -1000000000000000 
? 1 1
! 938356223 
? 1 1
! 857157125 
? 1 1
! -1000000000000000 
? 1 1
! -1000000000000000 
? 1 1
! -1000000000000000 
? 1 1
! -1000000000000000 
? 1 1
! -1000000000000000 
? 1 1
! 965894497 
? 1 1
! ...

result:

ok ok (10000 test cases)

Test #3:

score: -100
Wrong Answer
time: 3ms
memory: 3564kb

input:

1052
9
167536100
0
373372185
0
427949326
442758705
102715118
0
0
373372185
973423149
9
248442934
306962195
570791475
593033322
0
582850731
559429390
0
120053133
2780526396
2780526396

output:

? 1 1
? 2 2
? 3 3
? 4 4
? 5 5
? 6 6
? 7 7
? 8 8
? 9 9
? 1 3
? 3 7
! 167536100 -167536100 373372185 -373372185 427949326 442758705 102715118 0 0 
? 1 1
? 2 2
? 3 3
? 4 4
? 5 5
? 6 6
? 7 7
? 8 8
? 9 9
? 1 7
? 1 9
! 248442934 306962195 570791475 593033322 -80983651 582850731 559429390 0 120053133 

result:

wrong answer mss of [1, 9] is incorrect, expected=2780526396, found=2900579529 (test case 2)