Submission #67190414
Source Code Expand
Copy
#include <stdio.h>int main(void) {int cnt = 0;int c;int L;while ((c = getchar()) != EOF && c != '\n') cnt++;if (scanf("%d", &L) != 1) return 1;puts(cnt >= L ? "Yes" : "No");return 0;}
#include <stdio.h> int main(void) { int cnt = 0; int c; int L; while ((c = getchar()) != EOF && c != '\n') cnt++; if (scanf("%d", &L) != 1) return 1; puts(cnt >= L ? "Yes" : "No"); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Required Length |
User | mikecat |
Language | C (gcc 12.2.0) |
Score | 100 |
Code Size | 212 Byte |
Status | AC |
Exec Time | 0 ms |
Memory | 1644 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, example_02.txt |
All | example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
example_00.txt | AC | 0 ms | 1508 KiB |
example_01.txt | AC | 0 ms | 1592 KiB |
example_02.txt | AC | 0 ms | 1504 KiB |
hand_00.txt | AC | 0 ms | 1628 KiB |
hand_01.txt | AC | 0 ms | 1552 KiB |
hand_02.txt | AC | 0 ms | 1592 KiB |
hand_03.txt | AC | 0 ms | 1600 KiB |
hand_04.txt | AC | 0 ms | 1612 KiB |
hand_05.txt | AC | 0 ms | 1524 KiB |
hand_06.txt | AC | 0 ms | 1552 KiB |
random_00.txt | AC | 0 ms | 1640 KiB |
random_01.txt | AC | 0 ms | 1504 KiB |
random_02.txt | AC | 0 ms | 1628 KiB |
random_03.txt | AC | 0 ms | 1640 KiB |
random_04.txt | AC | 0 ms | 1612 KiB |
random_05.txt | AC | 0 ms | 1624 KiB |
random_06.txt | AC | 0 ms | 1584 KiB |
random_07.txt | AC | 0 ms | 1588 KiB |
random_08.txt | AC | 0 ms | 1644 KiB |
random_09.txt | AC | 0 ms | 1504 KiB |