fork 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) % (d+1);
  19. Console.WriteLine(a);}
  20. Console.ReadKey(); }}}
Success #stdin #stdout 0.02s 16300KB
stdin
Standard input is empty
stdout
25
18
19
10
29
35
24
25
9
37
11
23
15
16
7
20
15
7
35
8
17
11
14
25
10
23
5
1
13
3
6
16
15
22
4
36
26
29
9
5
15
10
12
11
19
5
18
37
23
31
33
9
6
9
11
16
4
33
37
3
28
20
10
2
24
27
2
26
8
3
27
21
31
23
26
3
35
37
3
0
2
1
12
14
3
28
1
33
1
17
24
20
16
32
4
20
26
34
12
15
26
12
11
3
25
31
36
4
5
31
2
27
15
20
23
12
32
21
21
16
6
23
4
9
36
24
22
14
35
23
33
17
4
3
28
3
1
18
34
18
1
7
1
18
24
4
13
2
16
0
32
9
18
36
9
4
10
5
9
3
12
23
9
23
1
24
22
12
31
19
8
12
21
35
10
32
18
18
15
22
2
9
26
23
15
9
23
31
17
7
15
18
32
14
28
1
19
0
1
22
5
22
31
17
9
35
4
34
2
27
0
4
3
35
12
12
3
28
10
31
3
32
34
24
5
30
21
8
9
12
17
22
19
34
21
20
19
10
16
21
6
26
25
22
2
4
6
24
30
7
25
20
17
34
8