Skip to main content
Commonmark migration
Source Link

#APL+WIN, 49 54 41 40 35bytes

APL+WIN, 49 54 41 40 35bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨(0=m|n)×m←⍳¨n←⎕ 

#APL+WIN, 49 54 41 40 35bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨(0=m|n)×m←⍳¨n←⎕ 

APL+WIN, 49 54 41 40 35bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨(0=m|n)×m←⍳¨n←⎕ 
added 4 characters in body
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13

#APL+WIN, 49 54 41 40 bytes40 35bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨((0=m|n)×m←⍳¨n←⎕)~¨0 

#APL+WIN, 49 54 41 40 bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨((0=m|n)×m←⍳¨n←⎕)~¨0 

#APL+WIN, 49 54 41 40 35bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨(0=m|n)×m←⍳¨n←⎕ 
added 9 characters in body
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13

#APL+WIN, 49 54 41 41 40 bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨1↓¨⌽¨¨¯1↓¨((0=m|n)×m←⍳¨n←⎕)~¨0 

#APL+WIN, 49 54 41 bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨1↓¨⌽¨((0=m|n)×m←⍳¨n←⎕)~¨0 

#APL+WIN, 49 54 41 40 bytes

Rewritten to reject equal integer inputs

Prompts for screen input of a vector of the two integers.

(≠/n)×2=+/n=⌽+/¨¯1↓¨((0=m|n)×m←⍳¨n←⎕)~¨0 
deleted 64 characters in body
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13
Loading
added 125 characters in body
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13
Loading
added 1 character in body
Source Link
Mr. Xcoder
  • 42.9k
  • 9
  • 87
  • 221
Loading
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13
Loading