fork download
  1. object Main extends App{for(x<-1 to 50)print((x%3,x%5)match{case(0,0)=>"FIZZBUZZ"case(0,_)=>"fizz"case(_,0)=>"buzz"case _=>x})}
  2.  
Success #stdin #stdout 0.39s 382080KB
stdin
Standard input is empty
stdout
12fizz4buzzfizz78fizzbuzz11fizz1314FIZZBUZZ1617fizz19buzzfizz2223fizzbuzz26fizz2829FIZZBUZZ3132fizz34buzzfizz3738fizzbuzz41fizz4344FIZZBUZZ4647fizz49buzz