Main.cc: In function ‘int main()’:
Main.cc:7:23: error: typedef ‘x’ is initialized (use decltype instead)
typedef long long x=0,sum=1;
^
Main.cc:7:27: error: typedef ‘sum’ is initialized (use decltype instead)
typedef long long x=0,sum=1;
^~~
Main.cc:11:10: error: ‘sum’ was not declared in this scope
sum*=j;
^~~
Main.cc:14:9: error: ‘x’ was not declared in this scope
x+=sum;
^
Main.cc:14:12: error: ‘sum’ was not declared in this scope
x+=sum;
^~~
Main.cc:17:11: error: ‘x’ was not declared in this scope
cout<