/ Vijos /

记录详情

Compile Error

foo.c:3:1: error: unknown type name 'define'
 define maxn 100+10
 ^
foo.c:3:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
 define maxn 100+10
             ^
foo.c:6:7: error: 'maxn' undeclared here (not in a function)
 int f[maxn][maxm];
       ^
foo.c:6:13: error: 'maxm' undeclared here (not in a function)
 int f[maxn][maxm];
             ^
foo.c: In function 'main':
foo.c:15:10: error: 't' undeclared (first use in this function)
   memset(t,0,sizeof(t)); 
          ^
foo.c:15:10: note: each undeclared identifier is reported only once for each function it appears in
foo.c:16:10: error: 'v' undeclared (first use in this function)
   memset(v,0,sizeof(v)); 
          ^

信息

递交者
类型
递交
题目
P1104 采药
语言
C
递交时间
2014-07-17 09:28:04
评测时间
2014-07-17 09:28:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes