Submission #75355529
Source Code Expand
Copy
#include <stdio.h>int main(void) {int N;if (scanf("%d", &N) != 1) return 1;puts(N % 111 == 0 ? "Yes" : "No");return 0;}
#include <stdio.h>
int main(void) {
int N;
if (scanf("%d", &N) != 1) return 1;
puts(N % 111 == 0 ? "Yes" : "No");
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Repdigit |
| User | mikecat |
| Language | C23 (GCC 14.2.0) |
| Score | 100 |
| Code Size | 139 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 1676 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 | 1 ms | 1624 KiB |
| 0_sample_2.txt | AC | 0 ms | 1564 KiB |
| 0_sample_3.txt | AC | 0 ms | 1676 KiB |
| 1_1.txt | AC | 0 ms | 1640 KiB |
| 2_1.txt | AC | 1 ms | 1616 KiB |
| 2_2.txt | AC | 1 ms | 1648 KiB |
| 2_3.txt | AC | 0 ms | 1636 KiB |
| 2_4.txt | AC | 0 ms | 1648 KiB |
| 3_1.txt | AC | 1 ms | 1676 KiB |
| 3_2.txt | AC | 0 ms | 1620 KiB |