A=B
Not enough ratings
divided by 2
   
Award
Favorite
Favorited
Unfavorite
Tags: level
File Size
Posted
Updated
31.546 KB
2 Apr, 2022 @ 6:44am
2 Apr, 2022 @ 10:52pm
2 Change Notes ( view )

Subscribe to download
divided by 2

Description
Input: A decimal number: N.
Output: N/2.
Constraint: 1 <= N <= 999
3 Comments
カズエイ 24 Feb @ 4:32am 
17 lines (/20 lines)

(once)=(end)000
1000=0000.5
2000=0001
3000=0001.5
4000=0002
5000=0002.5
6000=0003
7000=0003.5
8000=0004
9000=0004.5
(start)0=
.50=5
.51=6
.52=7
.53=8
.54=9
(start).=(return)0.5
295820878 19 Feb, 2024 @ 6:16pm 
18/20 lines
(once)=g
(end)g=
(start)0.5g=.5g
.50=5
.51=6
.52=7
.53=8
.54=9
g9=4.5g
g8=4g
g7=3.5g
g6=3g
g5=2.5g
g4=2g
g3=1.5g
g2=1g
g1=0.5g
g0=0g
attomake  [author] 2 Apr, 2022 @ 10:55pm 
changed the below case:
Input : 1
Output : .5
->
Input : 1
Output : 0.5