QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#418855 | #8687. Toy Train Tracks | by_chance# | AC ✓ | 3ms | 3928kb | C++14 | 1.5kb | 2024-05-23 16:10:08 | 2024-05-23 16:10:11 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int a,b;
int main(){
scanf("%d%d",&a,&b);a=a/2*2;b=b/2*2;
if(a==0){
b=b/4*4;if(b==8)b=4;
if(b==4)printf("RRRR\n");
else{
printf("RLRR");for(int i=1;i<=b/4-2;i++)printf("LR");
printf("RLRR");for(int i=1;i<=b/4-2;i++)printf("LR");
}
}
else{
if(b==4){
printf("RR");for(int i=1;i<=a/2;i++)printf("S");
printf("RR");for(int i=1;i<=a/2;i++)printf("S");
}
else if(b==6){
printf("SRSRRL");for(int i=1;i<=a/2-1;i++)printf("S");
printf("RR");for(int i=1;i<=a/2-1;i++)printf("S");
}
else if(b==8){
printf("SSRRLRRL");for(int i=1;i<=a/2-1;i++)printf("S");
printf("RR");for(int i=1;i<=a/2-1;i++)printf("S");
}
else if(b==10){
printf("LRLRRSRLRS");for(int i=1;i<=a/2-1;i++)printf("S");
printf("RR");for(int i=1;i<=a/2-1;i++)printf("S");
}
else{
for(int i=1;i<=b/4-2;i++)printf("LR");printf("RLRR");
for(int i=1;i<=b/4-2;i++)printf("LR");printf("RL");
if(b%4==0){
for(int i=1;i<=a/2;i++)printf("S");printf("RR");
for(int i=1;i<=a/2;i++)printf("S");
}
else{
for(int i=1;i<=a/2-1;i++)printf("S");printf("LRRSRS");
for(int i=1;i<=a/2-1;i++)printf("S");
}
}
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3904kb
input:
0 4
output:
RRRR
result:
ok correct, length = 4
Test #2:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
1 4
output:
RRRR
result:
ok correct, length = 4
Test #3:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
2 4
output:
RRSRRS
result:
ok correct, length = 6
Test #4:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
3 4
output:
RRSRRS
result:
ok correct, length = 6
Test #5:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
4 4
output:
RRSSRRSS
result:
ok correct, length = 8
Test #6:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
0 5
output:
RRRR
result:
ok correct, length = 4
Test #7:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
0 6
output:
RRRR
result:
ok correct, length = 4
Test #8:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
0 7
output:
RRRR
result:
ok correct, length = 4
Test #9:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
0 8
output:
RRRR
result:
ok correct, length = 4
Test #10:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
0 9
output:
RRRR
result:
ok correct, length = 4
Test #11:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
0 10
output:
RRRR
result:
ok correct, length = 4
Test #12:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
0 11
output:
RRRR
result:
ok correct, length = 4
Test #13:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
0 12
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #14:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
0 13
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #15:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
0 14
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #16:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
0 15
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #17:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
0 16
output:
RLRRLRLRRLRRLRLR
result:
ok correct, length = 16
Test #18:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
0 17
output:
RLRRLRLRRLRRLRLR
result:
ok correct, length = 16
Test #19:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
0 18
output:
RLRRLRLRRLRRLRLR
result:
ok correct, length = 16
Test #20:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
0 19
output:
RLRRLRLRRLRRLRLR
result:
ok correct, length = 16
Test #21:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
0 20
output:
RLRRLRLRLRRLRRLRLRLR
result:
ok correct, length = 20
Test #22:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
0 21
output:
RLRRLRLRLRRLRRLRLRLR
result:
ok correct, length = 20
Test #23:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
0 22
output:
RLRRLRLRLRRLRRLRLRLR
result:
ok correct, length = 20
Test #24:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
0 23
output:
RLRRLRLRLRRLRRLRLRLR
result:
ok correct, length = 20
Test #25:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
0 24
output:
RLRRLRLRLRLRRLRRLRLRLRLR
result:
ok correct, length = 24
Test #26:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
0 25
output:
RLRRLRLRLRLRRLRRLRLRLRLR
result:
ok correct, length = 24
Test #27:
score: 0
Accepted
time: 1ms
memory: 3788kb
input:
0 26
output:
RLRRLRLRLRLRRLRRLRLRLRLR
result:
ok correct, length = 24
Test #28:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
0 27
output:
RLRRLRLRLRLRRLRRLRLRLRLR
result:
ok correct, length = 24
Test #29:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
0 28
output:
RLRRLRLRLRLRLRRLRRLRLRLRLRLR
result:
ok correct, length = 28
Test #30:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
0 29
output:
RLRRLRLRLRLRLRRLRRLRLRLRLRLR
result:
ok correct, length = 28
Test #31:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
0 30
output:
RLRRLRLRLRLRLRRLRRLRLRLRLRLR
result:
ok correct, length = 28
Test #32:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
5 5
output:
RRSSRRSS
result:
ok correct, length = 8
Test #33:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
6 6
output:
SRSRRLSSRRSS
result:
ok correct, length = 12
Test #34:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
7 7
output:
SRSRRLSSRRSS
result:
ok correct, length = 12
Test #35:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
8 8
output:
SSRRLRRLSSSRRSSS
result:
ok correct, length = 16
Test #36:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
9 9
output:
SSRRLRRLSSSRRSSS
result:
ok correct, length = 16
Test #37:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
10 10
output:
LRLRRSRLRSSSSSRRSSSS
result:
ok correct, length = 20
Test #38:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
11 11
output:
LRLRRSRLRSSSSSRRSSSS
result:
ok correct, length = 20
Test #39:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
12 12
output:
LRRLRRLRRLSSSSSSRRSSSSSS
result:
ok correct, length = 24
Test #40:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
13 13
output:
LRRLRRLRRLSSSSSSRRSSSSSS
result:
ok correct, length = 24
Test #41:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
14 14
output:
LRRLRRLRRLSSSSSSLRRSRSSSSSSS
result:
ok correct, length = 28
Test #42:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
15 15
output:
LRRLRRLRRLSSSSSSLRRSRSSSSSSS
result:
ok correct, length = 28
Test #43:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
16 16
output:
LRLRRLRRLRLRRLSSSSSSSSRRSSSSSSSS
result:
ok correct, length = 32
Test #44:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
17 17
output:
LRLRRLRRLRLRRLSSSSSSSSRRSSSSSSSS
result:
ok correct, length = 32
Test #45:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
18 18
output:
LRLRRLRRLRLRRLSSSSSSSSLRRSRSSSSSSSSS
result:
ok correct, length = 36
Test #46:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
19 19
output:
LRLRRLRRLRLRRLSSSSSSSSLRRSRSSSSSSSSS
result:
ok correct, length = 36
Test #47:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
20 20
output:
LRLRLRRLRRLRLRLRRLSSSSSSSSSSRRSSSSSSSSSS
result:
ok correct, length = 40
Test #48:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
21 21
output:
LRLRLRRLRRLRLRLRRLSSSSSSSSSSRRSSSSSSSSSS
result:
ok correct, length = 40
Test #49:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
22 22
output:
LRLRLRRLRRLRLRLRRLSSSSSSSSSSLRRSRSSSSSSSSSSS
result:
ok correct, length = 44
Test #50:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
23 23
output:
LRLRLRRLRRLRLRLRRLSSSSSSSSSSLRRSRSSSSSSSSSSS
result:
ok correct, length = 44
Test #51:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
24 24
output:
LRLRLRLRRLRRLRLRLRLRRLSSSSSSSSSSSSRRSSSSSSSSSSSS
result:
ok correct, length = 48
Test #52:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
25 25
output:
LRLRLRLRRLRRLRLRLRLRRLSSSSSSSSSSSSRRSSSSSSSSSSSS
result:
ok correct, length = 48
Test #53:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
26 26
output:
LRLRLRLRRLRRLRLRLRLRRLSSSSSSSSSSSSLRRSRSSSSSSSSSSSSS
result:
ok correct, length = 52
Test #54:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
27 27
output:
LRLRLRLRRLRRLRLRLRLRRLSSSSSSSSSSSSLRRSRSSSSSSSSSSSSS
result:
ok correct, length = 52
Test #55:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
28 28
output:
LRLRLRLRLRRLRRLRLRLRLRLRRLSSSSSSSSSSSSSSRRSSSSSSSSSSSSSS
result:
ok correct, length = 56
Test #56:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
29 29
output:
LRLRLRLRLRRLRRLRLRLRLRLRRLSSSSSSSSSSSSSSRRSSSSSSSSSSSSSS
result:
ok correct, length = 56
Test #57:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
30 30
output:
LRLRLRLRLRRLRRLRLRLRLRLRRLSSSSSSSSSSSSSSLRRSRSSSSSSSSSSSSSSS
result:
ok correct, length = 60
Test #58:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
100 100
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRRLRRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRRLSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSRRSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
result:
ok correct, length = 200
Test #59:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
1000 1000
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 2000
Test #60:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
10000 10000
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 20000
Test #61:
score: 0
Accepted
time: 3ms
memory: 3780kb
input:
100000 100000
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 200000
Test #62:
score: 0
Accepted
time: 3ms
memory: 3912kb
input:
91457 90232
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 181688
Test #63:
score: 0
Accepted
time: 2ms
memory: 3852kb
input:
60881 94085
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 154964
Test #64:
score: 0
Accepted
time: 1ms
memory: 3788kb
input:
699 59775
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 60472
Test #65:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
44185 9850
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 54034
Test #66:
score: 0
Accepted
time: 2ms
memory: 3840kb
input:
71274 9113
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 80386
Test #67:
score: 0
Accepted
time: 2ms
memory: 3864kb
input:
75200 46503
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 121702
Test #68:
score: 0
Accepted
time: 2ms
memory: 3872kb
input:
64785 60434
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 125218
Test #69:
score: 0
Accepted
time: 2ms
memory: 3872kb
input:
56295 49335
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 105628
Test #70:
score: 0
Accepted
time: 2ms
memory: 3840kb
input:
71249 6102
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 77350
Test #71:
score: 0
Accepted
time: 3ms
memory: 3788kb
input:
96197 92978
output:
LRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLR...
result:
ok correct, length = 189174
Test #72:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
2 10
output:
LRLRRSRLRSRR
result:
ok correct, length = 12
Test #73:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
2 6
output:
SRSRRLRR
result:
ok correct, length = 8
Extra Test:
score: 0
Extra Test Passed