0_0_29633805_25370.cpp:5:12: error: expected initializer before 'a'
long longh a[1005];
^
0_0_29633805_25370.cpp: In function 'int main()':
0_0_29633805_25370.cpp:15:16: error: invalid types 'int[int]' for array subscript
a[i] = b+1;
^
0_0_29633805_25370.cpp:17:19: error: 'sort' was not declared in this scope
sort(a,a+n);
^
0_0_29633805_25370.cpp:21:23: error: invalid types 'int[int]' for array subscript
if(sum*a[i] <= m) sum = sum*a[i];
^
0_0_29633805_25370.cpp:21:44: error: invalid types 'int[int]' for array subscript
if(sum*a[i] <= m) sum = sum*a[i];
^
0_0_29633805_25370.cpp:23:13: error: 'else' without a previous 'if'
else break;
^
|