Main.cc: In function ‘int main()’: Main.cc:17:4: error: ‘maxn’ was not declared in this scope maxn=max(maxn,a[i+j-1]); ^~~~ Main.cc:17:4: note: suggested alternative: ‘main’ maxn=max(maxn,a[i+j-1]); ^~~~ main Main.cc:19:9: error: ‘maxn’ was not declared in this scope cout<