/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:28: error: 'MAXN' was not declared in this scope
 using namespace std;long a[MAXN];
                            ^~~~
/in/foo.cc: In function 'void init()':
/in/foo.cc:5:46: error: 'a' was not declared in this scope
 void init(){cin>>n;for(int i=1;i<=n;i++)cin>>a[i];}
                                              ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:16: error: 'a' was not declared in this scope
             if(a[i]==a[j]){p[i]=0;continue;}
                ^
/in/foo.cc:12:16: error: 'a' was not declared in this scope
             if(a[j]>a[i])
                ^
/in/foo.cc:12:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
             if(a[j]>a[i])
               ^

信息

递交者
类型
递交
题目
P1205 CoVH之柯南购物
语言
C++
递交时间
2020-10-30 20:12:33
评测时间
2020-10-30 20:19:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes