/ new_bzoj /

记录详情

Compile Error

/in/foo.c:1:1: error: unknown type name 'using'
 using namespace std;
 ^~~~~
/in/foo.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
 using namespace std;
                 ^~~
/in/foo.c:5:1: error: unknown type name 'bool'
 bool cmp(ll a , ll b) {return a > b;}
 ^~~~
/in/foo.c: In function 'main':
/in/foo.c:30:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
     scanf("%lld%lld" , &a , &b) , a -- ;
     ^~~~~
/in/foo.c:30:5: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:30:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:36:5: warning: implicit declaration of function 'sort' [-Wimplicit-function-declaration]
     sort(w + 1 , w + n + 1 , cmp);
     ^~~~
/in/foo.c:39:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
     printf("%lld\n" , b - a - ans);
     ^~~~~~
/in/foo.c:39:5: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:39:5: note: include '<stdio.h>' or provide a declaration of 'printf'

信息

递交者
类型
递交
题目
幸运数字
语言
C
递交时间
2019-10-22 11:15:42
评测时间
2019-10-22 11:15:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes