QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#216465#6558. Allergen Testingucup-team456#WA 7ms3660kbC++203.1kb2023-10-15 18:44:242023-10-15 18:44:25

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 3644kb

input:

1
4 1

output:

2

result:

ok single line: '2'

Test #2:

score: -100
Wrong Answer
time: 7ms
memory: 3660kb

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
60
1
19
18
18
18
18
19
19
19
19
19
19
19
19
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
18
18
18
18
19
19
19
19
19
19
19
19
18
18
18
18
19
19
19
19
19
19
19
19
18
18
18
18
19
19
19
19
18
18
18
18
17
17
17
17
18...

result:

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