QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#536215#6446. Stretching Streamerslmq26052003AC ✓383ms5536kbC++201.4kb2024-08-28 20:14:592024-08-28 20:15:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
30
3
2
45

output:

1

result:

ok 1 number(s): "1"

Test #2:

score: 0
Accepted
time: 1ms
memory: 5072kb

input:

4
3
30
2
45

output:

3

result:

ok 1 number(s): "3"

Test #3:

score: 0
Accepted
time: 5ms
memory: 5444kb

input:

300
1033
239
1867
337
269
1777
761
53
277
439
97
1741
1499
191
1567
1087
1117
307
1367
2
593
977
71
947
1051
797
397
1949
19
101
1733
701
379
641
683
1627
1301
1049
1493
127
1873
211
547
173
419
877
1019
131
661
769
263
929
839
827
1399
1213
281
431
1237
727
373
257
1361
487
1093
13
521
577
311
461
...

output:

0

result:

ok 1 number(s): "0"

Test #4:

score: 0
Accepted
time: 133ms
memory: 5456kb

input:

300
2157
237
2855
205
2105
6865
1415
33
6085
5469
415
895
177
5001
3261
7115
3805
591
993
3305
417
1115
39
5277
939
4555
5105
1347
4701
4737
501
9935
2019
141
2845
5815
1795
951
129
1315
1345
3845
2935
4135
3695
4449
681
6115
4629
2271
4497
3545
3715
1527
785
1101
1851
4791
2361
3579
4317
5045
4115
...

output:

0

result:

ok 1 number(s): "0"

Test #5:

score: 0
Accepted
time: 380ms
memory: 5536kb

input:

300
4907
7903
4529
11893
6629
91
1883
4627
2611
1337
1477
4249
2359
11599
13097
11683
4109
4739
9247
7133
1799
11879
2681
3017
8939
10451
3983
10381
1267
3101
3829
7763
9149
791
259
11081
3647
13069
8267
469
2191
7231
8309
4837
1561
2653
10577
3493
11963
721
511
2219
4319
889
6839
8981
4207
1351
529...

output:

0

result:

ok 1 number(s): "0"

Test #6:

score: 0
Accepted
time: 1ms
memory: 5076kb

input:

4
10
5
3
6

output:

1

result:

ok 1 number(s): "1"

Test #7:

score: 0
Accepted
time: 2ms
memory: 5132kb

input:

50
2
6
2
6
3
2
3
2
2
6
3
3
6
3
2
3
3
6
2
3
3
6
2
2
2
6
3
2
3
6
6
6
2
6
2
6
3
2
3
2
6
3
2
6
2
2
3
3
3
3

output:

899570939

result:

ok 1 number(s): "899570939"

Test #8:

score: 0
Accepted
time: 130ms
memory: 5432kb

input:

300
3155
6395
1149
8885
5165
2195
3865
4685
6295
4265
1315
5259
1203
3
35
939
235
5345
3651
6835
4765
1985
7835
4855
4659
339
1779
3095
7445
3903
921
2571
681
2335
1285
5305
2215
2217
5703
7195
4461
5245
6635
2855
4195
2103
8285
1077
7915
3295
1945
5435
3909
5541
9355
2271
4737
4287
1205
1347
237
65...

output:

0

result:

ok 1 number(s): "0"

Test #9:

score: 0
Accepted
time: 1ms
memory: 5100kb

input:

10
15
3
5
30
15
3
30
5
2
30

output:

19963

result:

ok 1 number(s): "19963"

Test #10:

score: 0
Accepted
time: 1ms
memory: 5092kb

input:

10
6
5
3
15
2
5
30
15
5
5

output:

265

result:

ok 1 number(s): "265"

Test #11:

score: 0
Accepted
time: 218ms
memory: 5444kb

input:

300
201191306
918051452
780961841
645973722
286503057
882088849
513073051
310381490
799200094
402805419
532979835
489021379
852948197
220768063
635297990
751356303
890115969
3130656
220308158
567483486
583338957
951560857
763149373
971135261
368520705
760496995
689532954
608871704
327670623
44169399...

output:

0

result:

ok 1 number(s): "0"

Test #12:

score: 0
Accepted
time: 383ms
memory: 5376kb

input:

300
2071
6631
31711
19931
31597
20843
12559
5567
3743
15713
5377
18677
35663
2413
23731
28709
8759
18563
6289
31483
9899
8417
23921
2831
1919
28253
13661
34219
9329
8189
14383
15409
7543
9481
10849
25973
6593
13129
11381
27569
20653
20729
33763
29089
209
29849
7277
30001
22553
2641
30761
15637
4997
...

output:

176726131

result:

ok 1 number(s): "176726131"

Test #13:

score: 0
Accepted
time: 238ms
memory: 5384kb

input:

300
999999712
999999930
999999994
999999890
999999884
999999971
999999767
999999976
999999858
999999843
999999960
999999931
999999999
999999905
999999817
999999856
999999849
999999962
999999969
999999986
999999984
999999956
999999902
999999728
999999837
999999865
999999744
999999913
999999857
999999...

output:

0

result:

ok 1 number(s): "0"

Test #14:

score: 0
Accepted
time: 262ms
memory: 5464kb

input:

300
999999917
999999789
999999727
999999984
999999702
999999926
999999709
999999724
999999978
999999699
999999830
999999856
999999791
999999712
999999952
999999823
999999888
999999732
999999849
999999772
999999738
999999969
999999991
999999867
999999988
999999780
999999890
999999900
999999912
999999...

output:

0

result:

ok 1 number(s): "0"

Test #15:

score: 0
Accepted
time: 172ms
memory: 5456kb

input:

300
505
3305
3849
3543
4881
5105
453
4295
1527
3777
321
4857
7915
395
5739
1985
4055
2045
1923
3693
2285
995
2361
417
1149
2435
2127
1713
5169
5935
545
6905
4435
9
6635
1821
2859
2615
145
1685
2495
7195
1405
1839
2005
2515
7495
5455
3005
4269
2391
1865
1437
6445
4115
123
3039
2757
65
1745
8935
4377
...

output:

550226165

result:

ok 1 number(s): "550226165"

Test #16:

score: 0
Accepted
time: 101ms
memory: 5480kb

input:

300
6
15
35
77
143
221
323
437
667
899
1147
1517
1763
2021
2491
3127
3599
4087
4757
5183
5767
6557
7387
8633
9797
10403
11021
11663
12317
14351
16637
17947
19043
20711
22499
23707
25591
27221
28891
30967
32399
34571
36863
38021
39203
41989
47053
50621
51983
53357
55687
57599
60491
64507
67591
70747
...

output:

1

result:

ok 1 number(s): "1"