QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#672840#6558. Allergen TestingMaMengQiWA 0ms3736kbC++20695b2024-10-24 19:27:342024-10-24 19:27:35

详细

Test #1:

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

input:

1
4 1

output:

2

result:

ok single line: '2'

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3708kb

input:

10000
1 1
1000000000000000000 1
1 1000000000000000000
1000000000000000000 1000000000000000000
26615519354743225 163142634
26615519354743225 163142634
26615519354743224 163142634
26615519354743226 163142634
847997831064072529 920867976
847997831064072529 920867976
847997831064072528 920867976
8479978...

output:

1
1414213562
1
1
163160696
163160696
163160696
163160696
920910890
920910890
920910890
920910890
400504380
400504380
400504380
400504380
297377180
297377180
297377180
297377180
757123345
757123345
757123345
757123345
752027457
752027457
752027457
752027457
192087575
192087575
192087575
192087575
609...

result:

wrong answer 1st lines differ - expected: '0', found: '1'