Submission #1515097


Source Code Expand

#include <stdio.h>
int main(void)
{
int x,y;
sanf("%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 119 Byte
Status CE

Compile Error

./Main.c: In function ‘main’:
./Main.c:5:1: warning: implicit declaration of function ‘sanf’ [-Wimplicit-function-declaration]
 sanf("%d %d\n", &x, &y):
 ^
./Main.c:5:24: error: expected ‘;’ before ‘:’ token
 sanf("%d %d\n", &x, &y):
                        ^