Skip to main content
1 byte improvement
Source Link
TiKevin83
  • 420
  • 3
  • 6

TI BASIC, 4645 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=B and A=C
1
Disp Ans

TI BASIC, 46 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=B and A=C
1
Disp Ans

TI BASIC, 45 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=B and A=C
1
Ans
added 5 characters in body
Source Link
TiKevin83
  • 420
  • 3
  • 6

TI BASIC, 4446 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=√(BCA=B and A=C
1
Disp Ans

Aside from the typical Ans shenanigans, A=√(BC is a handy shortcut for A=B and A=C in this scenario

TI BASIC, 44 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=√(BC
1
Disp Ans

Aside from the typical Ans shenanigans, A=√(BC is a handy shortcut for A=B and A=C in this scenario

TI BASIC, 46 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=B and A=C
1
Disp Ans
Source Link
TiKevin83
  • 420
  • 3
  • 6

TI BASIC, 44 Bytes

Prompt A,B,C
ABC
If A=B
C
If A=C
B
If B=C
A
If A=√(BC
1
Disp Ans

Aside from the typical Ans shenanigans, A=√(BC is a handy shortcut for A=B and A=C in this scenario