QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#391883#3791. Interesting Calculatorucup-team1383100 ✓513ms49732kbC++171.8kb2024-04-16 21:30:562024-04-16 21:30:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 513ms
memory: 49732kb

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 1: 9 4
Case 2: 12 3
Case 3: 500000 5
Case 4: 49999 49999
Case 5: 700000 7
Case 6: 68382 10
Case 7: 112558 11
Case 8: 130701 18
Case 9: 63820 10
Case 10: 225950 7
Case 11: 198287 11
Case 12: 123217 19
Case 13: 91914 10
Case 14: 137984 11
Case 15: 85481 22
Case 16: 180261 12
Case 17: 26654 9
Case...

result:

ok 30 lines