QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#863824#3445. Numbers On a TreeMaMengQiAC ✓94ms48192kbJava211.3kb2025-01-19 23:09:142025-01-19 23:09:15

詳細信息

Test #1:

score: 100
Accepted
time: 89ms
memory: 47892kb

input:

3 LR

output:

11

result:

ok single line: '11'

Test #2:

score: 0
Accepted
time: 79ms
memory: 46896kb

input:

3 RRL

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 90ms
memory: 48192kb

input:

2

output:

7

result:

ok single line: '7'

Test #4:

score: 0
Accepted
time: 70ms
memory: 46460kb

input:

3 LRL

output:

6

result:

ok single line: '6'

Test #5:

score: 0
Accepted
time: 90ms
memory: 47656kb

input:

26 RRLLLLRRRL

output:

134215922

result:

ok single line: '134215922'

Test #6:

score: 0
Accepted
time: 80ms
memory: 47168kb

input:

13 RLL

output:

16372

result:

ok single line: '16372'

Test #7:

score: 0
Accepted
time: 83ms
memory: 47600kb

input:

27 LLLLRRL

output:

268435322

result:

ok single line: '268435322'

Test #8:

score: 0
Accepted
time: 82ms
memory: 46800kb

input:

3 RLR

output:

3

result:

ok single line: '3'

Test #9:

score: 0
Accepted
time: 82ms
memory: 46944kb

input:

7 RRLLLRL

output:

30

result:

ok single line: '30'

Test #10:

score: 0
Accepted
time: 85ms
memory: 46824kb

input:

22 RRRRRLLRLRRRRRLLLLRRL

output:

4247674

result:

ok single line: '4247674'

Test #11:

score: 0
Accepted
time: 76ms
memory: 47468kb

input:

18 RRLRRRRRLRRRRRR

output:

462913

result:

ok single line: '462913'

Test #12:

score: 0
Accepted
time: 81ms
memory: 46924kb

input:

30 LLR

output:

2147483639

result:

ok single line: '2147483639'

Test #13:

score: 0
Accepted
time: 83ms
memory: 47696kb

input:

25 LLRRLRLLRRRRRRLRRLR

output:

66476051

result:

ok single line: '66476051'

Test #14:

score: 0
Accepted
time: 90ms
memory: 47732kb

input:

20 RLRRLLRLLRLRRLR

output:

2041555

result:

ok single line: '2041555'

Test #15:

score: 0
Accepted
time: 89ms
memory: 47576kb

input:

28 RRLLRLRLLLRLRRRLL

output:

536636324

result:

ok single line: '536636324'

Test #16:

score: 0
Accepted
time: 94ms
memory: 47980kb

input:

14 RLRLRRLLRRL

output:

29338

result:

ok single line: '29338'

Test #17:

score: 0
Accepted
time: 88ms
memory: 47636kb

input:

28 LRLRLLRRRLLRLLL

output:

536827448

result:

ok single line: '536827448'

Test #18:

score: 0
Accepted
time: 81ms
memory: 46508kb

input:

9 L

output:

1022

result:

ok single line: '1022'

Test #19:

score: 0
Accepted
time: 82ms
memory: 47164kb

input:

2

output:

7

result:

ok single line: '7'

Test #20:

score: 0
Accepted
time: 84ms
memory: 47780kb

input:

3

output:

15

result:

ok single line: '15'

Test #21:

score: 0
Accepted
time: 81ms
memory: 47212kb

input:

30 RRR

output:

2147483633

result:

ok single line: '2147483633'

Test #22:

score: 0
Accepted
time: 74ms
memory: 46672kb

input:

30 LRRLLLLLLLLRR

output:

2147472381

result:

ok single line: '2147472381'

Test #23:

score: 0
Accepted
time: 82ms
memory: 47452kb

input:

30 LRRLRRLRL

output:

2147482918

result:

ok single line: '2147482918'

Test #24:

score: 0
Accepted
time: 85ms
memory: 47208kb

input:

30 RRRRRLRRLRLRRRRRRLRLRLLL

output:

2114232408

result:

ok single line: '2114232408'

Test #25:

score: 0
Accepted
time: 87ms
memory: 47764kb

input:

30 RRRRRRLLRRRRR

output:

2147467361

result:

ok single line: '2147467361'

Test #26:

score: 0
Accepted
time: 75ms
memory: 46912kb

input:

30 LRLLRRRLLLLRRRRRLRLRRRRLRR

output:

2059895429

result:

ok single line: '2059895429'

Test #27:

score: 0
Accepted
time: 77ms
memory: 46612kb

input:

30 LRLLRRRLLLLRRRRRLRLRRRRLRRRLRR

output:

746072133

result:

ok single line: '746072133'

Test #28:

score: 0
Accepted
time: 80ms
memory: 46872kb

input:

30 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR

output:

1

result:

ok single line: '1'

Test #29:

score: 0
Accepted
time: 70ms
memory: 46392kb

input:

30

output:

2147483647

result:

ok single line: '2147483647'