QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#635780#9451. Expected Waiting Timeucup-team5015#WA 957ms59148kbC++2030.7kb2024-10-12 20:57:032024-10-12 20:57:04

详细

Test #1:

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

input:

5
1 1000000007 0 1 0
2 1000000007 0 1 1
2 7 5 2 3
3 31 15 6 24
20 1000000007 0 1 0

output:

1
12
1
21
879705565

result:

ok 5 number(s): "1 12 1 21 879705565"

Test #2:

score: 0
Accepted
time: 878ms
memory: 3844kb

input:

4400
3954 1000000007 0 1 0
1306 1000000007 0 1 0
3774 1000000007 0 1 0
3345 1000000007 0 1 0
891 1000000007 0 1 0
2462 1000000007 0 1 0
237 1000000007 0 1 0
26 1000000007 0 1 0
2510 1000000007 0 1 0
637 1000000007 0 1 0
3250 1000000007 0 1 0
3447 1000000007 0 1 0
1222 1000000007 0 1 0
133 1000000007...

output:

440618338
378292891
979368645
915766295
343598158
80867595
161627927
517387931
396936703
42785642
945720545
764273281
186237656
635777911
164064906
548455037
991964184
468137124
561243246
118562285
856945294
642467240
23673926
808943705
897417615
462422554
656411244
204288121
997894281
244685651
762...

result:

ok 4400 numbers

Test #3:

score: -100
Wrong Answer
time: 957ms
memory: 59148kb

input:

1019
338 1863833207 1820742817 1507924477 1822273457
770 1386304741 1088481071 1216187083 170973217
597 1604266739 620750027 196415899 456280997
105 1008587891 184044403 24836083 926135599
357 1165127407 440925347 1103369747 912263123
82 1639766993 263045351 631010551 1412721139
928 1715915153 25383...

output:

1049645809
830104144
94150642
413976122
133056175
871706648
981914950
709823583
411443083
1331408428
732602057
52358184
350746658
1042374451
1130837160
1509423382
244245854
635864733
694442375
204142705
1481466294
1704358916
691455757
1784738459
750843323
673006747
792942983
276086272
1333461144
648...

result:

wrong answer 1st numbers differ - expected: '1532578211', found: '1049645809'