记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:7:2: error: 'booi' was not declared in this scope
  booi p[10000];
  ^~~~
foo.cc:7:2: note: suggested alternative: 'bool'
  booi p[10000];
  ^~~~
  bool
foo.cc:9:22: error: 'p' was not declared in this scope
  for(i=0;i<10000;i++)p[i]=ture;
                      ^
foo.cc:9:27: error: 'ture' was not declared in this scope
  for(i=0;i<10000;i++)p[i]=ture;
                           ^~~~
foo.cc:9:27: note: suggested alternative: 'time'
  for(i=0;i<10000;i++)p[i]=ture;
                           ^~~~
                           time
foo.cc:16:6: error: 'p' was not declared in this scope
   if(p[i])
      ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
3-2 约瑟夫问题
比赛
2020苏青奥赛集训营(2021-3-14课后作业)
语言
C++
递交时间
2021-03-15 22:14:30
评测时间
2021-03-15 22:14:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes