QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#414112#3791. Interesting CalculatorZhaoZiLong0 0ms0kbC++201.5kb2024-05-18 15:26:382024-05-18 15:26:38

详细

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 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

result: