Skip to main content
added 154 characters in body
Source Link
Business Cat
  • 9.2k
  • 1
  • 18
  • 37

CJam, 66 4 bytes

Saved 2 bytes thanks to Dennis

riri%q~%!

Try it onlineTry it online

ririq    e# Take in twothe intsinput
 ~   e# Dump the individual values to the stack
  %  e# Modulus
     ! e# Boolean NOT

CJam, 6 bytes

riri%!

Try it online

riri   e# Take in two ints
    %  e# Modulus
     ! e# Boolean NOT

CJam, 6 4 bytes

Saved 2 bytes thanks to Dennis

q~%!

Try it online

q    e# Take in the input
 ~   e# Dump the individual values to the stack
  %  e# Modulus
   ! e# Boolean NOT
Source Link
Business Cat
  • 9.2k
  • 1
  • 18
  • 37

CJam, 6 bytes

riri%!

Try it online

riri   e# Take in two ints
    %  e# Modulus
     ! e# Boolean NOT