Main.cc: In function ‘int main()’: Main.cc:5:9: error: ‘n’ was not declared in this scope int n,m; ^ Main.cc:5:11: error: ‘m’ was not declared in this scope int n,m; ^ Main.cc:8:13: error: ‘r’ was not declared in this scope int r=2; ^ Main.cc:3:36: error: redeclaration of ‘long long int a [1000100]’ #define int long long int a[1000100]; ^ Main.cc:10:9: note: in expansion of macro ‘int’ int t2=1,t3=1; ^~~ Main.cc:3:27: note: ‘long long int a [1000100]’ previously declared here #define int long long int a[1000100]; ^ Main.cc:8:9: note: in expansion of macro ‘int’ int r=2; ^~~ Main.cc:10:13: error: ‘t2’ was not declared in this scope int t2=1,t3=1; ^~ Main.cc:10:13: note: suggested alternative: ‘tm’ int t2=1,t3=1; ^~ tm Main.cc:10:18: error: ‘t3’ was not declared in this scope int t2=1,t3=1; ^~ Main.cc:10:18: note: suggested alternative: ‘tm’ int t2=1,t3=1; ^~ tm Main.cc:13:17: error: ‘a1’ was not declared in this scope int a1=a[t2]*2+1,a2=a[t3]*3+1; ^~ Main.cc:13:17: note: suggested alternative: ‘a’ int a1=a[t2]*2+1,a2=a[t3]*3+1; ^~ a Main.cc:13:30: error: ‘a2’ was not declared in this scope int a1=a[t2]*2+1,a2=a[t3]*3+1; ^~ Main.cc:13:30: note: suggested alternative: ‘a’ int a1=a[t2]*2+1,a2=a[t3]*3+1; ^~ a Main.cc:3:36: error: redeclaration of ‘long long int a [1000100]’ #define int long long int a[1000100]; ^ Main.cc:14:13: note: in expansion of macro ‘int’ int t=min(a1,a2); if(a1