/ Vijos /

记录详情

Compile Error

/in/foo.cc:3:30: error: 'INT_MIN' was not declared in this scope
 int n,m,a[2005],b[2005],maxn=INT_MIN,ans;
                              ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(b[i]=0||b[i]>maxn){
                       ^
/in/foo.cc:14:3: error: 'ans' was not declared in this scope
   ans+=1; 
   ^~~
/in/foo.cc:17:8: error: 'ans' was not declared in this scope
  cout<<ans;
        ^~~

信息

递交者
类型
递交
题目
P1291 苹果摘陶陶
语言
C++
递交时间
2024-12-18 20:55:55
评测时间
2024-12-18 20:55:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes