/ Vijos /

记录详情

Compile Error

/in/foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 include<bits/stdc++.h>
        ^
/in/foo.c: In function 'main':
/in/foo.c:7:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
     scanf("%d%d",&n,&m);
     ^~~~~
/in/foo.c:7:5: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:7:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:15:5: warning: implicit declaration of function 'sort' [-Wimplicit-function-declaration]
     sort(a+1,a+n+1);
     ^~~~
/in/foo.c:25:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
     printf("%d",m);
     ^~~~~~
/in/foo.c:25:5: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:25:5: note: include '<stdio.h>' or provide a declaration of 'printf'

信息

递交者
类型
递交
题目
P1291 苹果摘陶陶
语言
C
递交时间
2019-11-01 20:15:21
评测时间
2019-11-01 20:15:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes