QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#77250#5362. I'm always close to youQiuly0 1ms8172kbC++143.2kb2023-02-13 19:05:482023-02-13 19:05:50

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 8172kb

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
46
52
65
78
90
105
120
134
149
166
182
200
217
239
261
281
301
325
346
371
395
421
446
471
496
521
552
588
620
658
691
724
764
798
839
874
916
952
995
1038
1082
1126
1171
1221
1271
1320
1375
1430
1486
1542
1598
1656
1713
1772
1833
1894
1954
2020
2086
2152
2219
2286
2353
...

result:

wrong answer 12th lines differ - expected: '49', found: '46'

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:


result:


Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

0%