0_0_20702794_26191.c: In function 'main':
0_0_20702794_26191.c:4:11: error: expected identifier or '(' before numeric constant
#define N 1010
^
0_0_20702794_26191.c:14:9: note: in expansion of macro 'N'
int N, V;
^
0_0_20702794_26191.c:25:24: error: lvalue required as unary '&' operand
scanf("%d %d", &N, &V);
^
0_0_20702794_26191.c:25:29: error: 'V' undeclared (first use in this function)
scanf("%d %d", &N, &V);
^
0_0_20702794_26191.c:25:29: note: each undeclared identifier is reported only once for each function it appears in
0_0_20702794_26191.c:35:27: error: 'b' undeclared (first use in this function)
printf("%d\n", dp[b]);
^
|