Submission #65576775
Source Code Expand
Copy
#include <stdio.h>#include <string.h>char S[114514];int main(void) {int i, n;if (scanf("%114513s", S) != 1) return 1;n = (int)strlen(S);for (i = 1; i <= n; i++) printf("%d\n", i);return 0;}
#include <stdio.h>
#include <string.h>
char S[114514];
int main(void) {
int i, n;
if (scanf("%114513s", S) != 1) return 1;
n = (int)strlen(S);
for (i = 1; i <= n; i++) printf("%d\n", i);
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Prefix Array |
| User | mikecat |
| Language | C (gcc 12.2.0) |
| Score | 200 |
| Code Size | 218 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 1800 KB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example01.txt |
| All | example01.txt, subtask_01_01.txt, subtask_01_02.txt, subtask_01_03.txt, subtask_01_04.txt, subtask_01_05.txt, subtask_01_06.txt, subtask_01_07.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example01.txt | AC | 1 ms | 1756 KB |
| subtask_01_01.txt | AC | 0 ms | 1620 KB |
| subtask_01_02.txt | AC | 5 ms | 1800 KB |
| subtask_01_03.txt | AC | 1 ms | 1704 KB |
| subtask_01_04.txt | AC | 6 ms | 1744 KB |
| subtask_01_05.txt | AC | 3 ms | 1620 KB |
| subtask_01_06.txt | AC | 3 ms | 1640 KB |
| subtask_01_07.txt | AC | 2 ms | 1676 KB |