0_0_22692335_14619.cpp:6:7: error: 'maxn' was not declared in this scope
int c[maxn], tc[maxn];
^
0_0_22692335_14619.cpp:6:17: error: 'maxn' was not declared in this scope
int c[maxn], tc[maxn];
^
0_0_22692335_14619.cpp: In function 'int main()':
0_0_22692335_14619.cpp:16:13: error: 'inf' was not declared in this scope
ans=inf;
^
0_0_22692335_14619.cpp:17:23: error: 'maxn' was not declared in this scope
for(int i=1;i<maxn;i++)
^
0_0_22692335_14619.cpp:19:26: error: 'c' was not declared in this scope
scanf("%d", &c[i]);
^
0_0_22692335_14619.cpp:20:13: error: 'tc' was not declared in this scope
tc[i]=c[i];
^
0_0_22692335_14619.cpp:29:17: error: 'tc' was not declared in this scope
tc[5]=c[5]-i;
^
0_0_22692335_14619.cpp:29:23: error: 'c' was not declared in this scope
tc[5]=c[5]-i;
^
|