记录详情

Compile Error

/in/foo.c:1:1: error: expected identifier or '(' before '/' token
 /#include <stdio.h>
 ^
/in/foo.c:1:2: error: stray '#' in program
 /#include <stdio.h>
  ^
/in/foo.c: In function 'main':
/in/foo.c:8:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d%d%d",&n,&t1,&t2);//5 4 3
  ^~~~~
/in/foo.c:8:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:8:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d%d%d",&n,&t1,&t2);//5 4 3
          ^
/in/foo.c:9:5: warning: implicit declaration of function 'FindMax' [-Wimplicit-function-declaration]
  t1=FindMax( t1,t2);
     ^~~~~~~
/in/foo.c:23:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d",c); 
  ^~~~~~
/in/foo.c:23:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:23:2: note: include '<stdio.h>' or provide a declaration of 'printf'

信息

递交者
类型
递交
题目
偷拍硕哥4
语言
C
递交时间
2018-12-29 14:24:24
评测时间
2018-12-29 14:24:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes