0_0_13803212_6286.cpp:5:1: error: expected unqualified-id before numeric constant
11000000
^
0_0_13803212_6286.cpp:11:2: error: 'wed' does not name a type
}wed[N];
^
0_0_13803212_6286.cpp:15:1: error: 'node' does not name a type
node &w1,const node
^
0_0_13803212_6286.cpp:15:16: error: 'node' does not name a type
node &w1,const node
^
0_0_13803212_6286.cpp: In function 'bool cmp(const int&, const int&)':
0_0_13803212_6286.cpp:19:7: error: request for member 'mid' in 'w1', which is of non-class type 'const int'
if(w1.mid!=w2.mid)
^
0_0_13803212_6286.cpp:19:15: error: request for member 'mid' in 'w2', which is of non-class type 'const int'
if(w1.mid!=w2.mid)
^
0_0_13803212_6286.cpp:21:13: error: request for member 'mid' in 'w1', which is of non-class type 'const int'
return w1.mid
^
0_0_13803212_6286.cpp:22:5: error: expected ';' before 'else'
else
^
0_0_13803212_6286.cpp:24:13: error: request for member 'start' in 'w1', which is of non-class type 'const int'
return w1.start
^
0_0_13803212_6286.cpp:25:1: error: expected ';' before '}' token
}
^
0_0_13803212_6286.cpp: In function 'int main()':
0_0_13803212_6286.cpp:42:3: error: expected ';' before '{' token
{
^
0_0_13803212_6286.cpp:42:3: error: expected primary-expression before '{' token
0_0_13803212_6286.cpp:42:3: error: expected ')' before '{' token
0_0_13803212_6286.cpp:45:15: error: 'wed' was not declared in this scope
scanf("%d%d",&wed[i].start,&wed[i].end);
^
0_0_13803212_6286.cpp:58:8: error: 'wed' was not declared in this scope
sort(wed,wed+n,cmp);
^
0_0_13803212_6286.cpp:64:3: error: expected ';' before '{' token
{
^
0_0_13803212_6286.cpp:64:3: error: expected primary-expression before '{' token
0_0_13803212_6286.cpp:64:3: error: expected ')' before '{' token
|