/ tarjin /

记录详情

System Error

/in/foo.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){int a,b;scanf("%d%d",&a,&b);return printf("%d\n",a+b),0;}
 ^~~~
/in/foo.c: In function 'main':
/in/foo.c:1:16: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 main(){int a,b;scanf("%d%d",&a,&b);return printf("%d\n",a+b),0;}
                ^~~~~
/in/foo.c:1:16: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:1:16: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:1:43: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 main(){int a,b;scanf("%d%d",&a,&b);return printf("%d\n",a+b),0;}
                                           ^~~~~~
/in/foo.c:1:43: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:1:43: note: include '<stdio.h>' or provide a declaration of 'printf'
FormatError('config file not found',)

信息

递交者
类型
递交
题目
P1001 A+B Problem
语言
C
递交时间
2020-03-16 09:26:52
评测时间
2020-03-16 09:26:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes