QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#212021#6631. Maximum Bitwise ORucup-team241#ML 3ms26596kbC++2011.3kb2023-10-13 05:44:472023-10-13 05:44:48

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 26596kb

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
Memory Limit Exceeded

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:


result: