Submission #3412367
Source Code Expand
#inclued<stdio.h> int main(){ int a; scanf("%d",&a); printf("%d\n",(a+1)/2); return 0; ]
Submission Info
Submission Time | |
---|---|
Task | A - 引越し作業 |
User | mnrskym0227 |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 96 Byte |
Status | CE |
Compile Error
./Main.c:1:2: error: invalid preprocessing directive #inclued #inclued<stdio.h> ^ ./Main.c: In function ‘main’: ./Main.c:5:1: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] scanf("%d",&a); ^ ./Main.c:5:1: warning: incompatible implicit declaration of built-in function ‘scanf’ ./Main.c:5:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ ./Main.c:6:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf("%d\n",(a+1)/2); ^ ./Main.c:6:1: warning: incompatible implicit declaration of built-in function ‘printf’ ./Main.c:6:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ ./Main.c:8:1: error: expected statement before ‘]’ token ] ^ ./Main.c:8:1: error: expected declaration or statement at end of input