QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#417159#3791. Interesting CalculatorHuangHanSheng0 0ms0kbC++201.2kb2024-05-22 15:30:312024-05-22 15:30:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

12 256
100 100 100 1 100 100 100 100 100 100
6 5 4 3 2 1 2 3 4 5
100 100 10 100 100 100 100 100 100 100
12 256
100 100 100 1 100 100 100 100 100 100
100 100 100 100 100 1 100 100 100 100
100 100 10 100 100 100 100 100 100 100
1 100000
100000 100000 100000 100000 100000 100000 100000 100000 100000 10...

output:

Case 140736060792913: 9 4
Case 140736060792914: 12 3
Case 140736060792915: 500000 5
Case 140736060792916: 49999 49999
Case 140736060792917: 700000 7
Case 140736060792918: 68382 10
Case 140736060792919: 112558 11
Case 140736060792920: 130701 18
Case 140736060792921: 63820 10
Case 140736060792922: 225...

result: