QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#76538#5464. Dice GameMaMengQiWA 1ms3316kbC++143.3kb2023-02-10 16:23:372023-02-10 16:23:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3316kb

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: 0ms
memory: 3220kb

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:

157409828
498323628
549568549
19964893
870441452
549568549
426480210
990323393
351234168
41593522
414429007
811561275
203155603
404289014
148310610
450764474
542447403
628168100
266046401
299464998
26829513
94120265
721718326
552221911
510910617
195218566
585772630
11905143
418019250
249688630
93980...

result:

wrong answer 1st numbers differ - expected: '645006489', found: '157409828'