Main.cc:4:1: error: ‘nt’ does not name a type; did you mean ‘int’?
nt a[MAXN],b[MAXN];
^~
int
Main.cc: In function ‘int main()’:
Main.cc:10:8: error: ‘a’ was not declared in this scope
cin>>a[i];
^
Main.cc:11:3: error: ‘b’ was not declared in this scope
b[i]=b[i-1]+a[i];
^
Main.cc:14:9: error: ‘b’ was not declared in this scope
cout<