QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#411606 | #8687. Toy Train Tracks | _map_ | AC ✓ | 2ms | 1428kb | C++17 | 8.0kb | 2024-05-15 16:35:44 | 2024-05-15 16:35:45 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 1292kb
input:
0 4
output:
RRRR
result:
ok correct, length = 4
Test #2:
score: 0
Accepted
time: 0ms
memory: 1224kb
input:
1 4
output:
RRRR
result:
ok correct, length = 4
Test #3:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
2 4
output:
RSRRSR
result:
ok correct, length = 6
Test #4:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
3 4
output:
RSRRSR
result:
ok correct, length = 6
Test #5:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
4 4
output:
RSSRRSSR
result:
ok correct, length = 8
Test #6:
score: 0
Accepted
time: 0ms
memory: 1296kb
input:
0 5
output:
RRRR
result:
ok correct, length = 4
Test #7:
score: 0
Accepted
time: 0ms
memory: 1300kb
input:
0 6
output:
RRRR
result:
ok correct, length = 4
Test #8:
score: 0
Accepted
time: 0ms
memory: 1236kb
input:
0 7
output:
RRRR
result:
ok correct, length = 4
Test #9:
score: 0
Accepted
time: 0ms
memory: 1224kb
input:
0 8
output:
RRRR
result:
ok correct, length = 4
Test #10:
score: 0
Accepted
time: 0ms
memory: 1296kb
input:
0 9
output:
RRRR
result:
ok correct, length = 4
Test #11:
score: 0
Accepted
time: 0ms
memory: 1292kb
input:
0 10
output:
RRRR
result:
ok correct, length = 4
Test #12:
score: 0
Accepted
time: 0ms
memory: 1292kb
input:
0 11
output:
RRRR
result:
ok correct, length = 4
Test #13:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
0 12
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #14:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
0 13
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #15:
score: 0
Accepted
time: 0ms
memory: 1344kb
input:
0 14
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #16:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
0 15
output:
RLRRLRRLRRLR
result:
ok correct, length = 12
Test #17:
score: 0
Accepted
time: 0ms
memory: 1236kb
input:
0 16
output:
RLRLRRLRRLRLRRLR
result:
ok correct, length = 16
Test #18:
score: 0
Accepted
time: 0ms
memory: 1172kb
input:
0 17
output:
RLRLRRLRRLRLRRLR
result:
ok correct, length = 16
Test #19:
score: 0
Accepted
time: 0ms
memory: 1280kb
input:
0 18
output:
RLRLRRLRRLRLRRLR
result:
ok correct, length = 16
Test #20:
score: 0
Accepted
time: 0ms
memory: 1232kb
input:
0 19
output:
RLRLRRLRRLRLRRLR
result:
ok correct, length = 16
Test #21:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
0 20
output:
RLRRLLRRLRRLRRLLRRLR
result:
ok correct, length = 20
Test #22:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
0 21
output:
RLRRLLRRLRRLRRLLRRLR
result:
ok correct, length = 20
Test #23:
score: 0
Accepted
time: 0ms
memory: 1332kb
input:
0 22
output:
RLRRLLRRLRRLRRLLRRLR
result:
ok correct, length = 20
Test #24:
score: 0
Accepted
time: 0ms
memory: 1372kb
input:
0 23
output:
RLRRLLRRLRRLRRLLRRLR
result:
ok correct, length = 20
Test #25:
score: 0
Accepted
time: 0ms
memory: 1212kb
input:
0 24
output:
RLRLRLRLRRLRRLRLRLRLRRLR
result:
ok correct, length = 24
Test #26:
score: 0
Accepted
time: 0ms
memory: 1216kb
input:
0 25
output:
RLRLRLRLRRLRRLRLRLRLRRLR
result:
ok correct, length = 24
Test #27:
score: 0
Accepted
time: 0ms
memory: 1304kb
input:
0 26
output:
RLRLRLRLRRLRRLRLRLRLRRLR
result:
ok correct, length = 24
Test #28:
score: 0
Accepted
time: 0ms
memory: 1236kb
input:
0 27
output:
RLRLRLRLRRLRRLRLRLRLRRLR
result:
ok correct, length = 24
Test #29:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
0 28
output:
RLRRLLRRLLRRLRRLRRLLRRLLRRLR
result:
ok correct, length = 28
Test #30:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
0 29
output:
RLRRLLRRLLRRLRRLRRLLRRLLRRLR
result:
ok correct, length = 28
Test #31:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
0 30
output:
RLRRLLRRLLRRLRRLRRLLRRLLRRLR
result:
ok correct, length = 28
Test #32:
score: 0
Accepted
time: 0ms
memory: 1408kb
input:
5 5
output:
RSSRRSSR
result:
ok correct, length = 8
Test #33:
score: 0
Accepted
time: 0ms
memory: 1340kb
input:
6 6
output:
RSSSRRLRSSRS
result:
ok correct, length = 12
Test #34:
score: 0
Accepted
time: 0ms
memory: 1332kb
input:
7 7
output:
RSSSRRLRSSRS
result:
ok correct, length = 12
Test #35:
score: 0
Accepted
time: 0ms
memory: 1428kb
input:
8 8
output:
RSSSSSRRLRSSSRLR
result:
ok correct, length = 16
Test #36:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
9 9
output:
RSSSSSRRLRSSSRLR
result:
ok correct, length = 16
Test #37:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
10 10
output:
RSSSSSRSRLRSSSSRLRRL
result:
ok correct, length = 20
Test #38:
score: 0
Accepted
time: 0ms
memory: 1428kb
input:
11 11
output:
RSSSSSRSRLRSSSSRLRRL
result:
ok correct, length = 20
Test #39:
score: 0
Accepted
time: 0ms
memory: 1408kb
input:
12 12
output:
RLRRLLRRLSSSSRRSSSSSSSSR
result:
ok correct, length = 24
Test #40:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
13 13
output:
RLRRLLRRLSSSSRRSSSSSSSSR
result:
ok correct, length = 24
Test #41:
score: 0
Accepted
time: 0ms
memory: 1344kb
input:
14 14
output:
RSLRRLLRRLSSSSRRLRSSSSSSSSRS
result:
ok correct, length = 28
Test #42:
score: 0
Accepted
time: 0ms
memory: 1340kb
input:
15 15
output:
RSLRRLLRRLSSSSRRLRSSSSSSSSRS
result:
ok correct, length = 28
Test #43:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
16 16
output:
RSSLRRLLRRLSSSSSRRLRSSSSSSSSSRLR
result:
ok correct, length = 32
Test #44:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
17 17
output:
RSSLRRLLRRLSSSSSRRLRSSSSSSSSSRLR
result:
ok correct, length = 32
Test #45:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
18 18
output:
RSLRRLLRRLSSSSSSRSRLRSSSSSSSSSSRLRRL
result:
ok correct, length = 36
Test #46:
score: 0
Accepted
time: 0ms
memory: 1408kb
input:
19 19
output:
RSLRRLLRRLSSSSSSRSRLRSSSSSSSSSSRLRRL
result:
ok correct, length = 36
Test #47:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
20 20
output:
RLRRLLRRLLRRLLRRLSSSSSSRRSSSSSSSSSSSSSSR
result:
ok correct, length = 40
Test #48:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
21 21
output:
RLRRLLRRLLRRLLRRLSSSSSSRRSSSSSSSSSSSSSSR
result:
ok correct, length = 40
Test #49:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
22 22
output:
RSLRRLLRRLLRRLLRRLSSSSSSRRLRSSSSSSSSSSSSSSRS
result:
ok correct, length = 44
Test #50:
score: 0
Accepted
time: 0ms
memory: 1408kb
input:
23 23
output:
RSLRRLLRRLLRRLLRRLSSSSSSRRLRSSSSSSSSSSSSSSRS
result:
ok correct, length = 44
Test #51:
score: 0
Accepted
time: 0ms
memory: 1372kb
input:
24 24
output:
RSSLRRLLRRLLRRLLRRLSSSSSSSRRLRSSSSSSSSSSSSSSSRLR
result:
ok correct, length = 48
Test #52:
score: 0
Accepted
time: 0ms
memory: 1336kb
input:
25 25
output:
RSSLRRLLRRLLRRLLRRLSSSSSSSRRLRSSSSSSSSSSSSSSSRLR
result:
ok correct, length = 48
Test #53:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
26 26
output:
RSLRRLLRRLLRRLLRRLSSSSSSSSRSRLRSSSSSSSSSSSSSSSSRLRRL
result:
ok correct, length = 52
Test #54:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
27 27
output:
RSLRRLLRRLLRRLLRRLSSSSSSSSRSRLRSSSSSSSSSSSSSSSSRLRRL
result:
ok correct, length = 52
Test #55:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
28 28
output:
RLRRLLRRLLRRLLRRLLRRLLRRLSSSSSSSSRRSSSSSSSSSSSSSSSSSSSSR
result:
ok correct, length = 56
Test #56:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
29 29
output:
RLRRLLRRLLRRLLRRLLRRLLRRLSSSSSSSSRRSSSSSSSSSSSSSSSSSSSSR
result:
ok correct, length = 56
Test #57:
score: 0
Accepted
time: 0ms
memory: 1340kb
input:
30 30
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLSSSSSSSSRRLRSSSSSSSSSSSSSSSSSSSSRS
result:
ok correct, length = 60
Test #58:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
100 100
output:
RLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLSSSSSSSSSSSSSSSSSSSSSSSSSSRRSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSR
result:
ok correct, length = 200
Test #59:
score: 0
Accepted
time: 0ms
memory: 1428kb
input:
1000 1000
output:
RSSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLL...
result:
ok correct, length = 2000
Test #60:
score: 0
Accepted
time: 0ms
memory: 1364kb
input:
10000 10000
output:
RSSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLL...
result:
ok correct, length = 20000
Test #61:
score: 0
Accepted
time: 0ms
memory: 1372kb
input:
100000 100000
output:
RSSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLL...
result:
ok correct, length = 200000
Test #62:
score: 0
Accepted
time: 2ms
memory: 1332kb
input:
91457 90232
output:
RSSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLL...
result:
ok correct, length = 181688
Test #63:
score: 0
Accepted
time: 1ms
memory: 1340kb
input:
60881 94085
output:
RLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRR...
result:
ok correct, length = 154964
Test #64:
score: 0
Accepted
time: 0ms
memory: 1360kb
input:
699 59775
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 60472
Test #65:
score: 0
Accepted
time: 1ms
memory: 1368kb
input:
44185 9850
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 54034
Test #66:
score: 0
Accepted
time: 0ms
memory: 1368kb
input:
71274 9113
output:
RSSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLL...
result:
ok correct, length = 80386
Test #67:
score: 0
Accepted
time: 1ms
memory: 1300kb
input:
75200 46503
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 121702
Test #68:
score: 0
Accepted
time: 1ms
memory: 1364kb
input:
64785 60434
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 125218
Test #69:
score: 0
Accepted
time: 1ms
memory: 1368kb
input:
56295 49335
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 105628
Test #70:
score: 0
Accepted
time: 1ms
memory: 1368kb
input:
71249 6102
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 77350
Test #71:
score: 0
Accepted
time: 2ms
memory: 1340kb
input:
96197 92978
output:
RSLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLRRLLR...
result:
ok correct, length = 189174
Test #72:
score: 0
Accepted
time: 0ms
memory: 1228kb
input:
2 10
output:
RSRSRLRRLRRL
result:
ok correct, length = 12
Test #73:
score: 0
Accepted
time: 0ms
memory: 1144kb
input:
2 6
output:
RSRRLRRS
result:
ok correct, length = 8
Extra Test:
score: 0
Extra Test Passed