Submission #3412370


Source Code Expand

#include<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: In function ‘main’:
./Main.c:8:1: error: expected statement before ‘]’ token
 ]
 ^
./Main.c:8:1: error: expected declaration or statement at end of input
./Main.c:5:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&a);
 ^