Submission #1515099


Source Code Expand

#include <stdio.h>
int main(void)
{
int x,y;
scanf("%d %d\n", &x, &y):
if(x<y)x=y;
printf("%d\n",x);
return 0;
}

Submission Info

Submission Time
Task A - 正直者
User iseekautos
Language C (GCC 5.4.1)
Score 0
Code Size 120 Byte
Status CE

Compile Error

./Main.c: In function ‘main’:
./Main.c:5:25: error: expected ‘;’ before ‘:’ token
 scanf("%d %d\n", &x, &y):
                         ^
./Main.c:5:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d %d\n", &x, &y):
 ^