/ Vijos /

记录详情

Compile Error

/in/foo.c:10:28: error: unknown type name 'bool'
 void insert_sort(int arr[],bool reverse,int length){
                            ^~~~
/in/foo.c: In function 'main':
/in/foo.c:41:2: warning: implicit declaration of function 'insert_sort' [-Wimplicit-function-declaration]
  insert_sort(y, true, num);
  ^~~~~~~~~~~
/in/foo.c:41:17: error: 'true' undeclared (first use in this function)
  insert_sort(y, true, num);
                 ^~~~
/in/foo.c:41:17: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
递交
题目
P1691 输油管道问题
语言
C
递交时间
2019-08-12 10:25:06
评测时间
2019-08-12 10:25:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes