/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int dp()':
foo.cpp:12:27: error: 'memset' was not declared in this scope
 memset(temp,0,sizeof(temp));
                           ^
foo.cpp:41:4: error: expected primary-expression before ')' token
 if()
    ^
foo.cpp: At global scope:
foo.cpp:67:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
foo.cpp: In function 'int main()':
foo.cpp:79:2: error: incompatible types in assignment of 'int' to 'int [9][9]'
 a=temp-'0';
  ^
foo.cpp:73:9: warning: unused variable 'temp' [-Wunused-variable]
 int i=0,temp=0,j; 
         ^
foo.cpp:73:16: warning: unused variable 'j' [-Wunused-variable]
 int i=0,temp=0,j; 
                ^

信息

递交者
类型
递交
题目
P1345 数独大赛
语言
C++
递交时间
2016-02-04 17:57:19
评测时间
2016-02-04 17:57:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes