/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void print(int)':
/in/foo.cc:8:8: error: 'now' was not declared in this scope
  cout<<now[x]<<' ';
        ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:21:9: error: 'itn' was not declared in this scope
     for(itn i=1;i<=n;i++)
         ^~~
/in/foo.cc:21:17: error: 'i' was not declared in this scope
     for(itn i=1;i<=n;i++)
                 ^
/in/foo.cc:25:10: error: two consecutive '[' shall only introduce an attribute before '[' token
         f[[j]+a[i]=f[j];
          ^
/in/foo.cc:27:9: error: 'now' was not declared in this scope
         now[j+a[i]]=i;
         ^~~
/in/foo.cc:23:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
       if(f[j]>0)
         ^

信息

递交者
类型
递交
题目
P1071 新年趣事之打牌
语言
C++
递交时间
2024-08-07 20:57:23
评测时间
2024-08-07 20:57:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes