fork download
  1. root = 62 #Генератор поля
  2. n = 71; #Характеристика поля
  3.  
  4. for p in range(n):
  5. print(root**p % n, ' ')
  6. print(root**n % n)
Success #stdin #stdout 0.03s 9440KB
stdin
Standard input is empty
stdout
1  
62  
10  
52  
29  
23  
6  
17  
60  
28  
32  
67  
36  
31  
5  
26  
50  
47  
3  
44  
30  
14  
16  
69  
18  
51  
38  
13  
25  
59  
37  
22  
15  
7  
8  
70  
9  
61  
19  
42  
48  
65  
54  
11  
43  
39  
4  
35  
40  
66  
45  
21  
24  
68  
27  
41  
57  
55  
2  
53  
20  
33  
58  
46  
12  
34  
49  
56  
64  
63  
1  
62