Submission #4420531
Source Code Expand
char s[11]; int main(){ scanf("%s", s); s[3]='7'; printf("%s", s); }
Submission Info
Submission Time | |
---|---|
Task | A - Already 2018 |
User | jannkennshitai |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 81 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:3:3: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] scanf("%s", s); ^ ./Main.c:3:3: warning: incompatible implicit declaration of built-in function ‘scanf’ ./Main.c:3:3: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ ./Main.c:5:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf("%s", s); ^ ./Main.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ ./Main.c:5:3: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | a01, a02 |
All | a01, a02, b03, b04, b05, b06, b07, b08 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
a01 | WA | 1 ms | 128 KB |
a02 | WA | 1 ms | 128 KB |
b03 | WA | 1 ms | 128 KB |
b04 | WA | 1 ms | 128 KB |
b05 | WA | 1 ms | 128 KB |
b06 | WA | 1 ms | 128 KB |
b07 | WA | 1 ms | 128 KB |
b08 | WA | 1 ms | 128 KB |