/ Vijos /

记录详情

Compile Error

foo.cc:10:1: error: expected initializer before 'bool'
 bool comp(int x, int y) {
 ^~~~
foo.cc: In function 'int main()':
foo.cc:26:3: error: 'r' was not declared in this scope
   r[i] = i;
   ^
foo.cc:29:7: error: 'r' was not declared in this scope
  sort(r, r + n, comp);
       ^
foo.cc:29:17: error: 'comp' was not declared in this scope
  sort(r, r + n, comp);
                 ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1389 婚礼上的小杉
语言
C++
递交时间
2021-10-05 18:03:53
评测时间
2021-10-05 18:03:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes