Submission #16060027
Source Code Expand
s = input()
if s == "RRR":
print(3)
elif s == "RRS" or s == "SRR":
print(2)
elif s == "SSS":
print(0)
else:
print(1)
Submission Info
| Submission Time | |
|---|---|
| Task | A - Rainy Season |
| User | sourjp |
| Language | Python (3.8.2) |
| Score | 100 |
| Code Size | 147 Byte |
| Status | AC |
| Exec Time | 33 ms |
| Memory | 8936 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 | 8844 KiB |
| 02.txt | AC | 22 ms | 8728 KiB |
| 03.txt | AC | 33 ms | 8936 KiB |
| 04.txt | AC | 32 ms | 8736 KiB |
| 05.txt | AC | 25 ms | 8736 KiB |
| 06.txt | AC | 23 ms | 8816 KiB |
| 07.txt | AC | 19 ms | 8832 KiB |
| 08.txt | AC | 23 ms | 8732 KiB |
| s1.txt | AC | 19 ms | 8928 KiB |
| s2.txt | AC | 18 ms | 8828 KiB |
| s3.txt | AC | 29 ms | 8840 KiB |