QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#77279#5362. I'm always close to youQiuly0 0ms0kbC++144.2kb2023-02-13 21:42:212023-02-13 21:44:24

詳細信息

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 0
Time Limit Exceeded

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
29
34
39
49
55
68
81
94
107
122
139
156
173
191
209
228
248
268
291
316
338
364
387
416
445
475
505
535
565
599
634
669
705
739
773
811
846
886
922
963
1000
1042
1084
1123
1166
1206
1257
1308
1359
1411
1465
1518
1573
1628
1684
1740
1798
1861
1924
1983
2049
2113
2177
2245
2313
238...

result:


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%