/ Vijos /

记录详情

Compile Error

/in/foo.c:6:1: error: unknown type name 'bool'
 bool go;
 ^~~~
/in/foo.c: In function 'paixu':
/in/foo.c:13:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if ((a[i]>a[j])||(a[i]==a[j])&&(b[i]>b[j]))
                   ~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:33:22: error: 'false' undeclared (first use in this function)
  ans=1;time=0;k=1;go=false;
                      ^~~~~
/in/foo.c:33:22: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:43:7: error: 'true' undeclared (first use in this function)
    go=true;
       ^~~~
/in/foo.c:46:5: error: expected expression before 'long'
   t=long(a[k]-time);
     ^~~~

信息

递交者
类型
递交
题目
P1401 复制CS
语言
C
递交时间
2018-01-27 21:52:11
评测时间
2018-01-27 21:52:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes