QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#503936#5346. Binary Treexiaowuc1AC ✓14ms5056kbC++178.4kb2024-08-04 02:50:212024-08-04 02:50:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3480kb

input:

2
L
LU
L
L

output:

Case 1: 3
Case 2: 2

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 14ms
memory: 5056kb

input:

15
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

output:

Case 1: 5382631
Case 2: 2888332
Case 3: 21
Case 4: 18976447
Case 5: 1732056
Case 6: 13231118
Case 7: 15776153
Case 8: 16265552
Case 9: 2420344
Case 10: 3222712
Case 11: 10627679
Case 12: 5598969
Case 13: 7517700
Case 14: 20658228
Case 15: 9220181

result:

ok 15 lines