Submission #73046731
Source Code Expand
N = input()
arr = []
for i in range(1,10):
x = str(i)
arr.append(x*3)
if N in arr:
print("Yes")
else:
print("No")
Submission Info
| Submission Time | |
|---|---|
| Task | A - Repdigit |
| User | myuuuu |
| Language | Python (PyPy 3.11-v7.3.20) |
| Score | 100 |
| Code Size | 141 Byte |
| Status | AC |
| Exec Time | 47 ms |
| Memory | 79860 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 0_sample_1.txt, 0_sample_2.txt, 0_sample_3.txt |
| All | 0_sample_1.txt, 0_sample_2.txt, 0_sample_3.txt, 1_1.txt, 2_1.txt, 2_2.txt, 2_3.txt, 2_4.txt, 3_1.txt, 3_2.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_sample_1.txt | AC | 47 ms | 79860 KiB |
| 0_sample_2.txt | AC | 46 ms | 79572 KiB |
| 0_sample_3.txt | AC | 46 ms | 79600 KiB |
| 1_1.txt | AC | 46 ms | 79560 KiB |
| 2_1.txt | AC | 46 ms | 79860 KiB |
| 2_2.txt | AC | 45 ms | 79560 KiB |
| 2_3.txt | AC | 46 ms | 79596 KiB |
| 2_4.txt | AC | 47 ms | 79756 KiB |
| 3_1.txt | AC | 46 ms | 79560 KiB |
| 3_2.txt | AC | 46 ms | 79328 KiB |