/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:8:25: error: 'memset' was not declared in this scope
  memset(a,0x00,sizeof(a));
                         ^
foo.cc:13:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=9;i++)
  ^~~
foo.cc:16:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i=1;i<=9;i++)
   ^~~
foo.cc:42:21: warning: for increment expression has no effect [-Wunused-value]
   for(int i=1;i+=3;i<=7)
                    ~^~~
foo.cc:44:22: warning: for increment expression has no effect [-Wunused-value]
    for(int j=1;j+=3;j<=7)
                     ~^~~
foo.cc:47:5: error: expected ';' before 'mul'
     mul*=a[i][j]*a[i+1][j]*a[i+2][j]*a[i][j+1]*a[i+1][j+1]*a[i+2][j+1]*a[i+2][j]*a[i+2][j+1]*a[i+2][j+2]
     ^~~

自豪的采用jd5进行评测(github.com/masnn/jd5)

信息

递交者
类型
自测
题目
P1335 数独验证
语言
C++
递交时间
2020-02-08 17:26:00
评测时间
2020-02-08 17:26:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes