QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#281231#5464. Dice Gameucup-team1765WA 1ms3576kbC++203.1kb2023-12-09 23:35:062023-12-09 23:35:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3556kb

input:

4
1
2
3
4

output:

0
249561089
776412276
2

result:

ok 4 number(s): "0 249561089 776412276 2"

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3576kb

input:

100
119
75
29
10
17
29
449
71
72
12
79
117
83
80
35
272
105
497
346
287
362
140
297
167
111
419
210
212
170
413
373
210
196
39
1
101
258
496
333
293
392
2
187
431
157
342
436
106
449
136
378
243
357
325
237
254
22
292
62
435
18
446
471
18
42
377
181
350
19
389
212
58
45
70
52
63
107
71
66
355
381
30...

output:

645006489
900993218
400009943
738700827
639014561
400009943
404386276
484963430
610038262
804141291
854929720
428933764
714232368
918384856
900457172
195158674
390515069
284396636
857641850
602517109
499792763
982354023
503021013
537725552
348466020
932047912
281907962
847743783
166143893
706149481
...

result:

wrong answer 2nd numbers differ - expected: '296012775', found: '900993218'