0_0_21694166_18172.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21694166_18172.cpp:2:32: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21694166_18172.cpp:4:5: error: expected primary-expression before 'int'
int n;
^
0_0_21694166_18172.cpp:4:5: error: expected '}' before 'int'
0_0_21694166_18172.cpp:4:5: error: expected ',' or ';' before 'int'
0_0_21694166_18172.cpp:5:5: error: expected unqualified-id before 'while'
while (~scanf("%d",&n)&&n){
^
0_0_21694166_18172.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
return 0;
^
0_0_21694166_18172.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
return 0;
^
0_0_21694166_18172.cpp:8:18: error: expected constructor, destructor, or type conversion before ';' token
return 0;
^
0_0_21694166_18172.cpp:8:24: error: expected constructor, destructor, or type conversion before ';' token
return 0;
^
0_0_21694166_18172.cpp:8:25: error: expected unqualified-id before 'return'
return 0;
^
0_0_21694166_18172.cpp:8:37: error: expected unqualified-id before numeric constant
return 0;
^
0_0_21694166_18172.cpp:9:1: error: expected declaration before '}' token
}
^
|