/ Vijos /

记录详情

Compile Error

foo.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
 memset( ans , false , sizeof(ans) ) ;
       ^
foo.cc:6:1: error: expected unqualified-id before 'for'
 for (i=0;i<m;++i)
 ^~~
foo.cc:6:10: error: 'i' does not name a type
 for (i=0;i<m;++i)
          ^
foo.cc:6:14: error: expected unqualified-id before '++' token
 for (i=0;i<m;++i)
              ^~
foo.cc:7:10: error: 'j' does not name a type
 for (j=0;j<m;++j) {
          ^
foo.cc:7:14: error: expected unqualified-id before '++' token
 for (j=0;j<m;++j) {
              ^~
foo.cc:12:1: error: expected unqualified-id before 'for'
 for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
 ^~~
foo.cc:12:26: error: 'i' does not name a type
 for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
                          ^
foo.cc:12:30: error: expected unqualified-id before '++' token
 for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
                              ^~
foo.cc:29:1: error: expected unqualified-id before 'if'
 if (flag==0) puts("Unsuccessful Hack Attempt");
 ^~
foo.cc:30:1: error: expected unqualified-id before 'else'
 else {
 ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1965 夜夜的数据加强
语言
C++
递交时间
2021-10-12 20:27:11
评测时间
2021-10-12 20:27:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes