/ Vijos /

记录详情

Compile Error

foo.c: In function 'dp':
foo.c:12:1: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
 memset(temp,0,sizeof(temp));
 ^
foo.c:12:1: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
foo.c:41:4: error: expected expression before ')' token
 if()
    ^
foo.c: At top level:
foo.c:67:1: warning: return type defaults to 'int' [enabled by default]
 main()
 ^
foo.c: In function 'main':
foo.c:79:2: error: incompatible types when assigning to type 'int[9][9]' from type 'int'
 a=temp-'0';
  ^
foo.c:73:16: warning: unused variable 'j' [-Wunused-variable]
 int i=0,temp=0,j; 
                ^
foo.c:73:9: warning: unused variable 'temp' [-Wunused-variable]
 int i=0,temp=0,j; 
         ^

信息

递交者
类型
递交
题目
P1345 数独大赛
语言
C
递交时间
2016-09-21 16:59:15
评测时间
2016-09-21 16:59:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes