QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#270463#6558. Allergen Testingucup-team2540#TL 1ms3616kbC++20589b2023-11-30 21:34:022023-11-30 21:34:03

詳細信息

Test #1:

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

input:

1
4 1

output:

2

result:

ok single line: '2'

Test #2:

score: -100
Time Limit Exceeded

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:


result: