QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505608#3445. Numbers On a Treexiaowuc1AC ✓14ms10740kbPython3272b2024-08-05 06:25:122024-08-05 06:25:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 9ms
memory: 10708kb

input:

3 LR

output:

11

result:

ok single line: '11'

Test #2:

score: 0
Accepted
time: 10ms
memory: 10524kb

input:

3 RRL

output:

2

result:

ok single line: '2'

Test #3:

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

input:

2

output:

7

result:

ok single line: '7'

Test #4:

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

input:

3 LRL

output:

6

result:

ok single line: '6'

Test #5:

score: 0
Accepted
time: 9ms
memory: 10644kb

input:

26 RRLLLLRRRL

output:

134215922

result:

ok single line: '134215922'

Test #6:

score: 0
Accepted
time: 10ms
memory: 10624kb

input:

13 RLL

output:

16372

result:

ok single line: '16372'

Test #7:

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

input:

27 LLLLRRL

output:

268435322

result:

ok single line: '268435322'

Test #8:

score: 0
Accepted
time: 7ms
memory: 10588kb

input:

3 RLR

output:

3

result:

ok single line: '3'

Test #9:

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

input:

7 RRLLLRL

output:

30

result:

ok single line: '30'

Test #10:

score: 0
Accepted
time: 6ms
memory: 10584kb

input:

22 RRRRRLLRLRRRRRLLLLRRL

output:

4247674

result:

ok single line: '4247674'

Test #11:

score: 0
Accepted
time: 9ms
memory: 10580kb

input:

18 RRLRRRRRLRRRRRR

output:

462913

result:

ok single line: '462913'

Test #12:

score: 0
Accepted
time: 4ms
memory: 10740kb

input:

30 LLR

output:

2147483639

result:

ok single line: '2147483639'

Test #13:

score: 0
Accepted
time: 13ms
memory: 10640kb

input:

25 LLRRLRLLRRRRRRLRRLR

output:

66476051

result:

ok single line: '66476051'

Test #14:

score: 0
Accepted
time: 13ms
memory: 10580kb

input:

20 RLRRLLRLLRLRRLR

output:

2041555

result:

ok single line: '2041555'

Test #15:

score: 0
Accepted
time: 13ms
memory: 10580kb

input:

28 RRLLRLRLLLRLRRRLL

output:

536636324

result:

ok single line: '536636324'

Test #16:

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

input:

14 RLRLRRLLRRL

output:

29338

result:

ok single line: '29338'

Test #17:

score: 0
Accepted
time: 7ms
memory: 10740kb

input:

28 LRLRLLRRRLLRLLL

output:

536827448

result:

ok single line: '536827448'

Test #18:

score: 0
Accepted
time: 9ms
memory: 10524kb

input:

9 L

output:

1022

result:

ok single line: '1022'

Test #19:

score: 0
Accepted
time: 13ms
memory: 10696kb

input:

2

output:

7

result:

ok single line: '7'

Test #20:

score: 0
Accepted
time: 10ms
memory: 10704kb

input:

3

output:

15

result:

ok single line: '15'

Test #21:

score: 0
Accepted
time: 7ms
memory: 10740kb

input:

30 RRR

output:

2147483633

result:

ok single line: '2147483633'

Test #22:

score: 0
Accepted
time: 7ms
memory: 10584kb

input:

30 LRRLLLLLLLLRR

output:

2147472381

result:

ok single line: '2147472381'

Test #23:

score: 0
Accepted
time: 7ms
memory: 10708kb

input:

30 LRRLRRLRL

output:

2147482918

result:

ok single line: '2147482918'

Test #24:

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

input:

30 RRRRRLRRLRLRRRRRRLRLRLLL

output:

2114232408

result:

ok single line: '2114232408'

Test #25:

score: 0
Accepted
time: 9ms
memory: 10704kb

input:

30 RRRRRRLLRRRRR

output:

2147467361

result:

ok single line: '2147467361'

Test #26:

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

input:

30 LRLLRRRLLLLRRRRRLRLRRRRLRR

output:

2059895429

result:

ok single line: '2059895429'

Test #27:

score: 0
Accepted
time: 4ms
memory: 10704kb

input:

30 LRLLRRRLLLLRRRRRLRLRRRRLRRRLRR

output:

746072133

result:

ok single line: '746072133'

Test #28:

score: 0
Accepted
time: 7ms
memory: 10700kb

input:

30 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR

output:

1

result:

ok single line: '1'

Test #29:

score: 0
Accepted
time: 9ms
memory: 10628kb

input:

30

output:

2147483647

result:

ok single line: '2147483647'