Please sign in first.
Submission #45489445
Source Code Expand
a, b = map(int, input().split())
if 12 < a:
print(b)
elif 5 < a:
print(b//2)
else:
print(0)
Submission Info
| Submission Time | |
|---|---|
| Task | A - Ferris Wheel |
| User | KoyanagiHitoshi |
| Language | Python (CPython 3.11.4) |
| Score | 100 |
| Code Size | 104 Byte |
| Status | AC |
| Exec Time | 9 ms |
| Memory | 8644 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 01.txt, 02.txt, 03.txt |
| All | 01.txt, 02.txt, 03.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | AC | 9 ms | 8500 KiB |
| 02.txt | AC | 9 ms | 8644 KiB |
| 03.txt | AC | 9 ms | 8476 KiB |
| 11.txt | AC | 9 ms | 8520 KiB |
| 12.txt | AC | 9 ms | 8476 KiB |
| 13.txt | AC | 9 ms | 8472 KiB |
| 14.txt | AC | 9 ms | 8556 KiB |
| 15.txt | AC | 9 ms | 8532 KiB |