예제 #1
0
파일: minimum.c 프로젝트: geoffchu/chuffed
	bool check() {
		int min = INT_MAX;
		for (int i = 0; i < sz; i++) if (x[i].getShadowVal() < min) min = x[i].getShadowVal();
		return (y.getShadowVal() == min);
	}
예제 #2
0
	bool check() {
		return ((x.getShadowVal() == y.getShadowVal()) || (x.getShadowVal() == -y.getShadowVal()));
	}
예제 #3
0
	bool check() {
		return ((int) ceil(x.getShadowVal() / y.getShadowVal()) == z.getShadowVal());
	}
예제 #4
0
	bool check() {
		return ((int) std::min(x.getShadowVal(), y.getShadowVal()) == z.getShadowVal());
	}
예제 #5
0
	bool check() {
		return (x.getShadowVal() * y.getShadowVal() == z.getShadowVal());
	}