/in/foo.cc: In function 'int* Calculate(Bigint&)':
/in/foo.cc:18:7: warning: address of local variable 'a' returned [-Wreturn-local-addr]
int a[10000]={0};
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i=0;a[i]>0;i++);
^~~
/in/foo.cc:47:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
i--;
^
/in/foo.cc:48:9: warning: statement has no effect [-Wunused-value]
for (i;i>=0;i--)
^