Submission #70513096
Source Code Expand
"""
<方針>
- `if` を使って条件分岐
"""
# 入力
N, M = map(int, input().split())
# 繰り返し出力
for i in range(N):
# 条件分岐
if(i<M):
print("OK")
else:
print("Too Many Requests")
Submission Info
| Submission Time | |
|---|---|
| Task | A - Too Many Requests |
| User | mattsunkun |
| Language | Python (PyPy 3.10-v7.3.12) |
| Score | 100 |
| Code Size | 227 Byte |
| Status | AC |
| Exec Time | 57 ms |
| Memory | 76416 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt |
| All | example_00.txt, example_01.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 57 ms | 76164 KiB |
| example_01.txt | AC | 57 ms | 76168 KiB |
| hand_00.txt | AC | 56 ms | 76160 KiB |
| hand_01.txt | AC | 57 ms | 76156 KiB |
| hand_02.txt | AC | 56 ms | 76136 KiB |
| hand_03.txt | AC | 56 ms | 76416 KiB |
| hand_04.txt | AC | 57 ms | 76032 KiB |
| hand_05.txt | AC | 56 ms | 76080 KiB |
| random_00.txt | AC | 56 ms | 76124 KiB |
| random_01.txt | AC | 57 ms | 76144 KiB |
| random_02.txt | AC | 57 ms | 76008 KiB |
| random_03.txt | AC | 56 ms | 76100 KiB |
| random_04.txt | AC | 56 ms | 76188 KiB |
| random_05.txt | AC | 56 ms | 76060 KiB |
| random_06.txt | AC | 56 ms | 76232 KiB |