QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#749545#9141. Array SpreadpokorfanclubTL 0ms3640kbC++202.2kb2024-11-15 03:33:452024-11-15 03:33:46

詳細信息

Test #1:

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

input:

3
3 3
1 3
2 3
1 2
12 6
2 3
5 7
1 9
4 8
1 2
7 11
4 5
3 4
2 3
1 2
4 4
1 1

output:

1
2
499122178

result:

ok 3 number(s): "1 2 499122178"

Test #2:

score: -100
Time Limit Exceeded

input:

2000
1000000000 1
259923446 367011266
1000000000 1
882434225 971573327
1000000000 1
41585677 470369580
1000000000 1
371902212 947250194
1000000000 1
787209148 924205796
1000000000 1
259074809 960876164
1000000000 1
148079314 188254573
1000000000 1
940091047 948318624
1000000000 1
40636497 743979446
...

output:


result: