QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#278684#7744. Elevatorucup-team2478TL 0ms0kbC++141.9kb2023-12-07 19:16:432023-12-07 19:16:44

Details

Tip: Click on the bar to expand more detailed information

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: