QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#278684#7744. Elevatorucup-team2478TL 0ms0kbC++141.9kb2023-12-07 19:16:432023-12-07 19:16:44

詳細信息

Test #1:

score: 0
Time Limit Exceeded

input:

2
4 6
1 1 8
7 2 5
1 1 7
3 2 6
8 1200000
100000 1 100000
100000 1 12345
100000 2 100000
100000 2 12345
100000 1 100000
100000 1 12345
100000 2 100000
100000 2 12345

output:

1804289383 1 1681692778
1714636915 2 424238336
719885386 1 596516650
1189641421 1 1350490028
1087518724884418358
783368690 2 2044897764

result: