object Main { for(x<-1 to 50)print(List("fizz"*(1-x%3)+"buzz"*(1-x%5),""+x).sorted.tail(0))}
Standard input is empty
Standard output is empty
Error: Main method not found in class Main, please define the main method as: public static void main(String[] args)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!