0_0_36594481_28570.cpp: In function 'int main()':
0_0_36594481_28570.cpp:46:17: error: 'i' was not declared in this scope
ans[i]=tmp;
^
0_0_36594481_28570.cpp:48:56: error: too few arguments to function 'int up(int, int)'
for (int i=n;i>=1;i--)ans[i]=up(ans[i]+ans[i+1]);
^
0_0_36594481_28570.cpp:17:5: note: declared here
int up(int x,int y){
^
|