/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int find(int, int, double)':
foo.cc:15:6: error: 'a' was not declared in this scope
  if (a[mid]>key){
      ^
foo.cc: In function 'int find2(int, int, double)':
foo.cc:26:6: error: 'a' was not declared in this scope
  if (a[mid]<key){
      ^
foo.cc: In function 'int main()':
foo.cc:52:12: error: 'a' was not declared in this scope
   double y=a[i];
            ^
foo.cc: In function 'int find(int, int, double)':
foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cc: In function 'int find2(int, int, double)':
foo.cc:32:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1237 隐形的翅膀
语言
C++
递交时间
2021-07-11 21:40:09
评测时间
2021-07-11 21:40:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes