?
POJ 1222 EXTENDED LIGHTS OUT 高斯消元 异或方程 (水(二)
< y ? x : y;
}
long max(long x, long y) {
return x > y ? x : y;
}
long min(long x, long y) {
return x < y ? x : y;
}
int abs(int x) {
return x > 0 ? x : -x;
}
double abs(double x) {
return x > 0 ? x : -x;
}
long abs(long x) {
return x > 0 ? x : -x;
}
boolean zero(double x) {
return abs(x) < eps;
}
double sin(double x) {
return Math.sin(x);
}
double cos(double x) {
return Math.cos(x);
}
double tan(double x) {
return Math.tan(x);
}
double sqrt(double x) {
return Math.sqrt(x);
}
double fabs(double x){return x>0?x:-x;}
}
| 评论 |
|
|