QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#94769#5362. I'm always close to youdcmfqw0 1944ms126892kbC++143.1kb2023-04-07 17:58:212023-04-07 17:58:23

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1944ms
memory: 126892kb

input:

2000 0
push-front a
push-front b
push-front a
push-back a
push-back a
push-front a
push-front a
push-back a
push-front a
push-back b
push-back a
push-back b
push-front b
push-front b
push-front a
push-back b
push-front b
push-front b
push-back b
push-back a
push-front a
push-back a
push-front b
push...

output:

1
3
5
8
11
15
19
24
30
37
45
55
65
78
91
104
118
133
150
167
184
203
221
241
263
285
308
333
357
383
408
437
466
496
526
556
586
620
656
691
728
767
804
845
883
925
963
1006
1045
1089
1136
1177
1225
1267
1319
1371
1424
1476
1530
1585
1642
1699
1756
1812
1870
1933
1996
2055
2121
2187
2253
2321
2389
2...

result:

wrong answer 9th lines differ - expected: '29', found: '30'

Subtask #2:

score: 0
Time Limit Exceeded

Test #3:

score: 0
Time Limit Exceeded

input:

200000 0
push-back m
push-front x
push-front y
push-front e
push-back l
push-back c
push-front y
push-back n
push-front q
push-back w
push-back k
push-back f
push-back c
push-front j
push-front h
push-back y
push-back w
push-front k
push-back b
push-front f
push-back e
push-front v
push-back x
push-...

output:

1
3
6
10
15
21
27
35
44
54
65
77
89
103
118
133
149
166
185
204
224
246
268
292
316
342
369
396
425
455
485
517
549
582
616
651
687
724
762
801
841
883
926
969
1012
1057
1103
1151
1199
1248
1298
1349
1401
1453
1507
1562
1617
1674
1732
1791
1851
1912
1974
2036
2100
2165
2231
2297
2365
2434
2503
2574
...

result:


Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

0%