判断点在矩形内
#include <stdio.h>#include <math.h>#define MAX(x, y) (x > y ? x : y)#define MIN(x, y) (x <= y ? x : y)struct point { int x; int y;};struct rectangle { struct point p1; struct point p2;};int main() { struct po.
原创
2021-08-19 14:52:57 ·
154 阅读 ·
0 评论