/ Vijos /

记录详情

Compile Error

/in/foo.cc:4:1: error: expected initializer before 'bool'
 bool visit[2001];
 ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:9: error: 'visit' was not declared in this scope
  memset(visit,0,sizeof(visit));
         ^~~~~
/in/foo.cc:10:8: error: 'hi' was not declared in this scope
   cin>>hi[i];
        ^~
/in/foo.cc:12:8: error: 'h2' was not declared in this scope
   cin>>h2[i];
        ^~
/in/foo.cc:16:7: error: 'h' was not declared in this scope
    if(h[i]>h[j]&&h[j]!=0&&visit[j]==1)
       ^

信息

递交者
类型
递交
题目
P1291 苹果摘陶陶
语言
C++
递交时间
2024-07-17 21:19:02
评测时间
2024-07-17 21:19:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes