Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline int nmv(int val) { return val < 0 || (val > (1 << (fn-1)))? 0 : val; }
- inline void check(FP c) {
- if(memcmp(f+(fc*fn)+fr, &(fs = (nmv((1L << (fr+1))) | nmv((1L << ((fr+1) >> (fc-c)))) | nmv((1L << ((fr+1) >> (fc+c)))))), fn) == 0) {
- // Is safe :P
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement