Compile Error
foo.cc: In function 'int main()': foo.cc:8:2: error: expected ';' before 'cout' cout<<x<<endl; ^~~~ foo.cc:10:1: error: expected primary-expression before '}' token } ^ foo.cc:10:1: error: expected ';' before '}' token
[Hydro](https://hydro.ac)提供评测服务