QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#200519#6558. Allergen Testingucup-team2039WA 35ms6964kbC++201.2kb2023-10-04 17:16:022023-10-04 17:16:02

详细

Test #1:

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

input:

1
4 1

output:

2

result:

ok single line: '2'

Test #2:

score: -100
Wrong Answer
time: 35ms
memory: 6964kb

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:

0
60
0
1
18
18
18
18
19
19
19
19
18
18
18
18
18
18
18
18
19
19
19
19
19
19
19
19
18
18
18
18
17
17
17
17
19
19
19
19
18
18
18
18
19
19
19
19
19
19
19
19
19
19
19
19
18
18
18
18
17
17
17
17
19
19
19
19
19
19
19
19
18
18
18
18
18
18
18
18
19
19
19
19
18
18
18
18
18
18
18
18
18
18
18
18
17
17
17
17
17
...

result:

wrong answer 5th lines differ - expected: '2', found: '18'