#include <iostream>
#include <vector>
using namespace std;
int getside(int a, int b, int c, pair<int, int>& pr) {
int x = pr.first, y = pr.second;
int res = a + b * x + c * y;
return (res > 0 ? 1 : 2);
}
bool check(int a, int b,
CCF CSP 竞赛试题——线性分类器(202006-1)
最新推荐文章于 2024-06-26 16:56:12 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)