QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#201778#6631. Maximum Bitwise ORucup-team1005#WA 47ms32320kbC++202.5kb2023-10-05 16:42:482023-10-05 16:42:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
3 2
10 10 5
1 2
1 3

output:

15 2
15 0

result:

ok 4 number(s): "15 2 15 0"

Test #2:

score: -100
Wrong Answer
time: 47ms
memory: 32320kb

input:

100000
1 1
924704060
1 1
1 1
149840457
1 1
1 1
515267304
1 1
1 1
635378394
1 1
1 1
416239424
1 1
1 1
960156404
1 1
1 1
431278082
1 1
1 1
629009153
1 1
1 1
140374311
1 1
1 1
245014761
1 1
1 1
445512399
1 1
1 1
43894730
1 1
1 1
129731646
1 1
1 1
711065534
1 1
1 1
322643984
1 1
1 1
482420443
1 1
1 1
20...

output:

1073741823 1
268435455 1
536870911 1
1073741823 1
536870911 1
1073741823 1
536870911 1
1073741823 1
268435455 1
268435455 1
536870911 1
67108863 1
134217727 1
1073741823 1
536870911 1
536870911 1
268435455 1
536870911 1
536870911 1
536870911 1
268435455 1
268435455 1
1073741823 1
16777215 1
10737418...

result:

wrong answer 2nd numbers differ - expected: '2', found: '1'