Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Xu > Yu) {
- Wu = (Xu + Yu)%4;
- if ((Xu + Yu) < 4) r = 1 else r = 0;
- } else {
- Wu = (Xu - Yu) % 4;
- if ((Xu - Yu) >= 0) r = 1 else r = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement