记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:13:12: error: 'a' was not declared in this scope
  for(int i=a;i<=b;i++)
            ^
foo.cc:13:17: error: 'b' was not declared in this scope
  for(int i=a;i<=b;i++)
                 ^
foo.cc:14:3: error: 'fj' was not declared in this scope
   fj(i,cnt);
   ^~
foo.cc:15:21: error: 'findmax' was not declared in this scope
  cout<<Serch(cnt,10,findmax(cnt,10));
                     ^~~~~~~
foo.cc:15:21: note: suggested alternative: 'findmaxcnt'
  cout<<Serch(cnt,10,findmax(cnt,10));
                     ^~~~~~~
                     findmaxcnt
foo.cc: In function 'int Serch(int*, int, int)':
foo.cc:37:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1086 3-1 整数中的数字
语言
C++
递交时间
2021-04-11 17:00:00
评测时间
2021-04-11 17:00:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes