0_0_39400915_17055.cpp:10:5: error: cannot declare '::main' to be a global variable
10 | int main{
| ^~~~
0_0_39400915_17055.cpp:11:5: error: expected primary-expression before 'int'
11 | int n,x,y;
| ^~~
0_0_39400915_17055.cpp:11:5: error: expected '}' before 'int'
0_0_39400915_17055.cpp:10:9: note: to match this '{'
10 | int main{
| ^
0_0_39400915_17055.cpp:12:5: error: expected unqualified-id before 'while'
12 | while(cin>>x>>y){
| ^~~~~
0_0_39400915_17055.cpp:27:5: error: expected unqualified-id before 'return'
27 | return 0;
| ^~~~~~
0_0_39400915_17055.cpp:28:1: error: expected declaration before '}' token
28 | }
| ^
|