fork download
  1. // dax01y01.cs
  2. using System;using System.Linq;
  3. using System.Collections.Generic;
  4. using System.Text.RegularExpressions;
  5. namespace dax01y01
  6. { public class Program
  7. { public static void Main(string[] args)
  8. { Random rand = new Random();
  9. for (int i = 1; i < 55; i++)
  10. { double d = rand.Next(2);
  11. Console.WriteLine(Math.Ceiling(d));
  12. }}}}
Success #stdin #stdout 0.02s 16236KB
stdin
Standard input is empty
stdout
0
0
1
0
1
0
0
0
1
0
0
1
0
1
1
1
1
0
0
1
1
0
1
0
0
0
0
1
1
1
1
0
1
0
0
1
0
1
1
0
0
1
1
0
0
0
1
1
0
1
0
1
0
1