Submission #15987360
Source Code Expand
S=input()
if "RRR" in S:
print(3)
elif "RR" in S:
print(2)
elif "R" in S:
print(1)
else:
print(0)
Submission Info
| Submission Time | |
|---|---|
| Task | A - Rainy Season |
| User | f_taka |
| Language | Python (3.8.2) |
| Score | 100 |
| Code Size | 121 Byte |
| Status | AC |
| Exec Time | 29 ms |
| Memory | 9040 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | s1.txt, s2.txt, s3.txt |
| All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, s1.txt, s2.txt, s3.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | AC | 19 ms | 8888 KiB |
| 02.txt | AC | 21 ms | 9040 KiB |
| 03.txt | AC | 20 ms | 8768 KiB |
| 04.txt | AC | 23 ms | 8868 KiB |
| 05.txt | AC | 24 ms | 8984 KiB |
| 06.txt | AC | 29 ms | 8768 KiB |
| 07.txt | AC | 21 ms | 8772 KiB |
| 08.txt | AC | 18 ms | 8924 KiB |
| s1.txt | AC | 23 ms | 8768 KiB |
| s2.txt | AC | 24 ms | 8776 KiB |
| s3.txt | AC | 23 ms | 8988 KiB |