0_0_23388148_27446.cpp: In function 'bool inter(point, point, point, point)':
0_0_23388148_27446.cpp:6:17: error: 'min' was not declared in this scope
if( min(a.x,b.x) > max(c.x,d.x) ||
^
0_0_23388148_27446.cpp:6:32: error: 'max' was not declared in this scope
if( min(a.x,b.x) > max(c.x,d.x) ||
^
0_0_23388148_27446.cpp: In function 'int main()':
0_0_23388148_27446.cpp:21:22: error: 'scanf' was not declared in this scope
while(~scanf("%d",&n) && n){
^
0_0_23388148_27446.cpp:29:20: error: 'printf' was not declared in this scope
printf("%d\n",cnt);
^
|