Submission #423827
Source Code Expand
#include <stdio.h> int Main(void){ int x , y ,ans; scanf("%d" , &x); scanf("%d",&y); if(x>y ){ ans = x; }else{ ans = y; }; printf("%d\n",ans); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 正直者 |
User | miccchi |
Language | C (GCC 4.6.4) |
Score | 0 |
Code Size | 245 Byte |
Status | CE |
Compile Error
./Main.c: In function ‘Main’: ./Main.c:5:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] ./Main.c:6:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status