记录详情

Compile Error

/in/foo.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 include <stdio.h>
         ^
/in/foo.c: In function 'main':
/in/foo.c:23:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d",&t);
  ^~~~~
/in/foo.c:23:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:23:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:30:10: warning: implicit declaration of function 'gys' [-Wimplicit-function-declaration]
     gys1=gys(gys1,n);
          ^~~
/in/foo.c:32:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d\n",gys1);
  ^~~~~~
/in/foo.c:32:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:32:2: note: include '<stdio.h>' or provide a declaration of 'printf'

信息

递交者
类型
自测
题目
5-3 最大公约数
语言
C
递交时间
2022-05-31 12:00:43
评测时间
2022-05-31 12:00:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes