QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#511640#5521. Excellent XOR ProblemZhangYiDeWA 61ms5432kbC++23901b2024-08-10 09:22:322024-08-10 09:22:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
2
0 0
3
1 2 3
5
16 8 4 2 1
6
42 42 42 42 42 42

output:

NO
YES
3
1 1
2 2
3 3
YES
2
1 1
2 5
NO

result:

ok Correct (4 test cases)

Test #2:

score: 0
Accepted
time: 12ms
memory: 5432kb

input:

1
200000
0 0 104990627 0 104990627 0 0 0 0 104990627 0 104990627 0 0 104990627 104990627 0 0 0 0 0 104990627 0 0 0 104990627 104990627 104990627 0 104990627 0 104990627 104990627 0 104990627 0 0 0 104990627 104990627 0 0 104990627 104990627 0 0 104990627 0 0 0 0 0 104990627 104990627 0 0 0 0 0 10499...

output:

YES
2
1 1
2 200000

result:

ok Correct (1 test case)

Test #3:

score: -100
Wrong Answer
time: 61ms
memory: 5428kb

input:

1
200000
916550535 1039111536 183367143 845311658 473404911 844600350 249761080 860927112 268559756 661297994 448456545 184790162 804023458 655065019 442145717 130497524 509071033 644651807 1039510287 766490362 514960668 612238468 863513676 417538457 839195481 901404895 760875212 983171045 343221187...

output:

YES
3
1 95
96 21200
21201 200000
YES
3
1 21200
21201 38504
38505 200000
YES
3
1 38504
38505 196494
196495 200000
YES
3
1 77454
77455 196494
196495 200000
YES
3
1 77454
77455 125134
125135 200000
YES
3
1 65978
65979 125134
125135 200000
YES
3
1 29939
29940 65978
65979 200000
YES
3
1 29939
29940 16539...

result:

wrong output format Extra information in the output file (test case 1)