A=B
评价数不足
Fizzbuzz
   
奖励
收藏
已收藏
取消收藏
标签: level
文件大小
发表于
4.979 KB
2024 年 7 月 29 日 下午 8:30
1 项改动说明 ( 查看 )

订阅以下载
Fizzbuzz

描述
Input: A decimal integer. There are no leading zeros
Output: If the number is divisible by 15, output "Fizzbuzz". Otherwise, if the number is divisible 5, output "Buzz". Otherwise, if the number is divisible by 3, output "Fizz". Otherwise, output the number as is.
Constraint: 1 <= Input <= 99
1 条留言
カズエイ 2024 年 10 月 25 日 下午 8:49 
16 lines (/ 0 lines)

(once)=0000
||||=(end)|
00001=10000||||
00002=20000||||||||
00003=30000||||||||||||
00004=40000||||
00005=50000||||||||00
00006=60000||||||||||||
00007=70000||||
00008=80000||||||||
00009=90000||||||||||||
00000|||=(return)Fizzbuzz
00000=(return)Buzz
|||=(return)Fizz
00|=
00=