0_0_22201242_3231.cpp:9:9: error: two or more data types in declaration of 'x'
int x,y1,y2;
^
0_0_22201242_3231.cpp:9:11: error: two or more data types in declaration of 'y1'
int x,y1,y2;
^
0_0_22201242_3231.cpp:9:14: error: two or more data types in declaration of 'y2'
int x,y1,y2;
^
0_0_22201242_3231.cpp: In function 'bool cmd(node, node)':
0_0_22201242_3231.cpp:41:15: error: 'a' has incomplete type
bool cmd(node a,node b)
^
0_0_22201242_3231.cpp:8:8: error: forward declaration of 'struct node'
struct node//ÀëÉ¢×Ý×ø?{
^
0_0_22201242_3231.cpp:41:22: error: 'b' has incomplete type
bool cmd(node a,node b)
^
0_0_22201242_3231.cpp:8:8: error: forward declaration of 'struct node'
struct node//ÀëÉ¢×Ý×ø?{
^
0_0_22201242_3231.cpp: In function 'int main()':
0_0_22201242_3231.cpp:56:16: error: 'dian' was not declared in this scope
memset(dian,0,sizeof dian);
^
0_0_22201242_3231.cpp:102:21: error: 'y' was not declared in this scope
add(y,-1);
^
0_0_22201242_3231.cpp:104:13: error: 'else' without a previous 'if'
else
^
0_0_22201242_3231.cpp:106:43: error: 'i' was not declared in this scope
int y=Discretization(dian[i].y1);
^
0_0_22201242_3231.cpp:110:25: error: 'ans' was not declared in this scope
printf("%lld\n",ans);
^
0_0_22201242_3231.cpp: At global scope:
0_0_22201242_3231.cpp:113:1: error: expected declaration before '}' token
}
^
|