运行 ID: 121396

Main.cc: In function ‘int main()’:
Main.cc:6:9: error: ‘n’ was not declared in this scope
     int n,m; 
         ^
Main.cc:6:11: error: ‘m’ was not declared in this scope
     int n,m; 
           ^
Main.cc:9: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:11: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:9:9: note: in expansion of macro ‘int’
         int r=2; 
         ^~~
Main.cc:11:13: error: ‘t2’ was not declared in this scope
         int t2=1,t3=1;
             ^~
Main.cc:11:13: note: suggested alternative: ‘tm’
         int t2=1,t3=1;
             ^~
             tm
Main.cc:11:18: error: ‘t3’ was not declared in this scope
         int t2=1,t3=1;
                  ^~
Main.cc:11:18: note: suggested alternative: ‘tm’
         int t2=1,t3=1;
                  ^~
                  tm
Main.cc:14:17: error: ‘a1’ was not declared in this scope
             int a1=a[t2]*2+1,a2=a[t3]*3+1; 
                 ^~
Main.cc:14:17: note: suggested alternative: ‘a’
             int a1=a[t2]*2+1,a2=a[t3]*3+1; 
                 ^~
                 a
Main.cc:14:30: error: ‘a2’ was not declared in this scope
             int a1=a[t2]*2+1,a2=a[t3]*3+1; 
                              ^~
Main.cc:14: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:15:13: note: in expansion of macro ‘int’
             int t=min(a1,a2); 
             ^~~
Main.cc:3:27: note: ‘long long int a [1000100]’ previously declared here
 #define int long long int a[1000100]; 
                           ^
Main.cc:14:13: note: in expansion of macro ‘int’
             int a1=a[t2]*2+1,a2=a[t3]*3+1; 
             ^~~
Main.cc:15:17: error: ‘t’ was not declared in this scope
             int t=min(a1,a2); 
                 ^
Main.cc:3:27: warning: unused variable ‘a’ [-Wunused-variable]
 #define int long long int a[1000100]; 
                           ^
Main.cc:6:5: note: in expansion of macro ‘int’
     int n,m; 
     ^~~