2 ms·
Why not just write: bool aplusb_sqr(int* c, int a, int b) { return c && ckd_add(c, a, b) && ckd_mul(c, *c, *c); }
by chongli 4y ago
Why not just write:
bool aplusb_sqr(int* c, int a, int b) {
return c && ckd_add(c, a, b) && ckd_mul(c, *c, *c);
}
- xigoi 4y agoObviously you could do that in this case, I just wanted to come up with a complicated formula.