Lang:G++
Edit12345678910111213141516171819202122232425262728293031#include <cmath>#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>using namespace std;inline int read(){int x = 0, f = 1, t = getchar();while(t < 48 || t > 57) t == 45 ? f = -1 : 0, t = getchar();while(t > 47 && t < 58) x = (x << 1) + (x << 3) + t - 48, t = getchar();return x * f;}const int maxn = 505;const int maxm = 1005;const double eps = 1e-6;int n, m;double a[maxm][maxn], b[maxm];int ans[maxn];bool zero(double x){return fabs(x) < eps;}inline void Swap(const int x, const int y){if(x != y){