QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#242900#7036. Can You Solve the Harder Problem?dXqwq🍥#WA 4204ms25016kbC++232.7kb2023-11-07 18:18:372023-11-07 18:18:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 16068kb

input:

2
3
1 2 3
3
2 3 3

output:

14
14

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 4204ms
memory: 25016kb

input:

1000
407
205460 200518 200561 199235 198814 198136 198802 206763 198795 200705 205862 209366 204017 209481 206300 198499 197364 200897 208928 196983 205605 206396 205140 201050 199886 207314 196947 207905 204999 203288 200298 198594 198286 197714 206506 203962 197628 201127 206380 199090 200711 2063...

output:

17377263880
484769420621
1469039857
473739194467
490764968536
305434410403
488123854116
494441224927
484272937511
482411215077
34438338505
225764586244
494494400870
492874976740
486779601551
483167680203
341192630235
492747353987
491280077388
9765154255
491745355442
120812820486
487737922489
4725166...

result:

ok 1000 lines

Test #3:

score: -100
Wrong Answer
time: 3905ms
memory: 23044kb

input:

1000
989
507102 732180 353998 101710 542881 118374 431064 689823 413523 117027 629973 750571 190925 749991 433716 360981 112209 548712 201721 316123 391501 242087 419388 181933 456503 655757 417087 739256 442318 78753 243152 491702 215002 645259 568188 663372 389158 380483 792508 586353 739459 90306...

output:

454746757256
28339718425
453884630039
128591729064
448111178045
75284968670
445747071452
279896702194
445704609778
167973786530
371872311621
70407640704
428085383449
147419726815
282581591005
445036870282
198428498846
802046
455258988212
196913576758
21403552866
424994895807
188380097
448477259353
3...

result:

wrong answer 527th lines differ - expected: '19294860214695847', found: '19294860207993008'