0_0_23201147_25380.cpp:4:7: error: 'MAX_NUM' does not name a type
const MAX_NUM=1000;
^
0_0_23201147_25380.cpp:8:11: error: '::main' must return 'int'
void main()
^
0_0_23201147_25380.cpp: In function 'int main()':
0_0_23201147_25380.cpp:16:18: error: 'MAX_NUM' was not declared in this scope
long num[MAX_NUM];
^
0_0_23201147_25380.cpp:18:32: error: 'num' was not declared in this scope
for(j=0;j <MAX_NUM;j++)num[j]=0;
^
0_0_23201147_25380.cpp:24:17: error: 'num' was not declared in this scope
num[i]=num[i]*10+temp;
^
0_0_23201147_25380.cpp:34:15: error: 'num' was not declared in this scope
merge(num,i+1);
^
|