fork(1) download
  1. //VYUGA.cs
  2. using System;using System.Linq;
  3. using System.Collections.Generic;
  4. using System.Text.RegularExpressions;
  5. namespace VYUGA
  6. { public class Program
  7. { static double w;
  8. static void Main(string[] args)
  9. { Random rand = new Random();
  10. int d=37;
  11. double s = rand.Next(5000000);
  12. double a = Math.Round(d*s/5000000)+1;
  13. Console.WriteLine(a);
  14.  
  15. for (int i = 1; i < 255; i++)
  16. { w = rand.Next(3000000)+1;
  17. double v = Math.Round(w*d/1000000)+1;
  18. a=a+v;
  19. da: if (a>d)
  20. { a=a-d; goto da; }
  21. Console.WriteLine(a);}
  22. Console.ReadKey(); }}}
Success #stdin #stdout 0.02s 16224KB
stdin
Standard input is empty
stdout
21
18
28
5
6
29
35
22
32
18
15
15
34
23
23
34
36
22
14
13
25
27
13
4
27
15
13
30
3
31
10
33
34
22
26
21
20
26
37
21
18
32
26
37
27
9
31
26
36
35
30
25
18
10
37
23
35
18
10
23
12
2
17
37
7
19
19
14
1
7
20
17
29
1
4
3
12
25
27
31
35
2
11
23
20
5
36
9
8
26
10
27
5
4
37
9
9
20
24
3
23
14
23
28
15
13
34
19
9
1
16
16
35
24
34
19
1
6
30
16
36
28
25
31
17
15
35
13
27
22
23
22
32
19
4
18
15
20
9
9
12
21
5
13
18
3
1
28
18
30
21
17
5
24
21
13
8
11
31
21
37
7
17
13
5
22
13
10
15
12
2
18
35
23
7
18
27
18
21
23
24
19
8
11
16
22
33
24
15
9
29
24
9
9
31
28
29
18
34
22
17
20
6
36
22
35
15
16
15
2
23
28
29
11
1
23
5
13
5
29
36
37
7
19
35
31
25
5
10
35
10
31
6
22
30
29
2
36
17
10
36
11
4
9
20
35
30
34
8
8
24
18
16
9
29