/in/foo.cc:3:14: error: expected unqualified-id before 'long'
#define int (long long int)
^
/in/foo.cc:4:1: note: in expansion of macro 'int'
int gcd(int a,int b){
^~~
/in/foo.cc:3:14: error: expected ')' before 'long'
#define int (long long int)
^
/in/foo.cc:4:1: note: in expansion of macro 'int'
int gcd(int a,int b){
^~~
/in/foo.cc:3:14: error: expected unqualified-id before 'long'
#define int (long long int)
^
/in/foo.cc:7:1: note: in expansion of macro 'int'
int lcm(int a,int b){
^~~
/in/foo.cc:3:14: error: expected ')' before 'long'
#define int (long long int)
^
/in/foo.cc:7:1: note: in expansion of macro 'int'
int lcm(int a,int b){
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:6: error: 'a' was not declared in this scope
int a,b;
^
/in/foo.cc:11:8: error: 'b' was not declared in this scope
int a,b;
^
/in/foo.cc:13:15: error: 'lcm' was not declared in this scope
cout<<lcm(a,b);
^