Compile Error

/in/foo.cc:3:29: error: expected initializer before '==' token
 long long n,a,b[25],p=0,maxp==LONG_LONG_MIN,s=0;
                             ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:3: error: 's' was not declared in this scope
   s++;
   ^
/in/foo.cc:15:11: error: 'maxp' was not declared in this scope
   if(b[i]>maxp) Maxp=b[i];
           ^~~~
/in/foo.cc:15:17: error: 'Maxp' was not declared in this scope
   if(b[i]>maxp) Maxp=b[i];
                 ^~~~
/in/foo.cc:18:12: error: 'maxp' was not declared in this scope
   if(b[i]==maxp) cout<<"NO."<<i<<"\n";
            ^~~~

信息

递交者
类型
递交
题目
P1146 对号入箱
语言
C++
递交时间
2024-07-12 16:27:18
评测时间
2024-07-12 16:27:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes