QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37005#3236. Hills And ValleysGuanYunchangWA 223ms31428kbC++115.6kb2022-06-29 23:09:152022-06-29 23:09:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 223ms
memory: 31428kb

input:

100
564
3348010339062339968164170543732424036101480063385567796871300633327190066610177797479597931706239956680908434521050648311220502482402268964497684451036156162125014743550622955579737715237323508714467463047351532756224409691528642332476831673220319724437158730801472447651264708417183934709815...

output:

108 77 492
296 759 1294
1418 1 1585
92 45 403
888 744 1072
262 501 1238
337 189 985
258 949 1739
848 1 398
1803 42 1416
102 1 532
103 10 421
99 6 496
263 342 1197
1306 440 488
301 105 852
100 3 198
108 176 470
363 27 289
1107 1 1778
96 292 487
1094 537 1097
1038 62 199
706 532 1339
573 185 1382
91 9...

result:

wrong answer read m = 296 but the maximum length of your plan is 294 (test case 2)