一个神人的程序的输出结果:
程序代码:
n = 1
Answers: 0
0 ms.
n = 2
Answers: 0
0 ms.
n = 3
370
407
371
153
Answers: 4
0 ms.
n = 4
9474
8208
1634
Answers: 3
0 ms.
n = 5
93084
54748
92727
4150
4151
Answers: 5
0 ms.
n = 6
548834
Answers: 1
0 ms.
n = 7
9800817
9926315
4210818
1741725
Answers: 4
0 ms.
n = 8
88593477
24678050
24678051
Answers: 3
0 ms.
n = 9
534494836
472335975
912985153
146511208
Answers: 4
0 ms.
n = 10
4679307774
Answers: 1
0 ms.
n = 11
49388550606
44708635679
42678290603
40028394225
82693916578
32164049650
32164049651
94204591914
Answers: 8
0 ms.
n = 12
Answers: 0
0 ms.
n = 13
564240140138
Answers: 1
0 ms.
n = 14
28116440335967
Answers: 1
0 ms.
n = 15
Answers: 0
0 ms.
n = 16
4338281769391370
4338281769391371
Answers: 2
0 ms.
n = 17
35875699062250035
35641594208964132
21897142587612075
233411150132317
Answers: 4
0 ms.
n = 18
Answers: 0
0 ms.
n = 19
4929273885928088826
3289582984443187032
1517841543307505039
4498128791164624869
Answers: 4
0 ms.
n = 20
63105425988599693916
Answers: 1
0 ms.
n = 21
449177399146038697307
128468643043731391252
Answers: 2
0 ms.
n = 22
Answers: 0
0 ms.
n = 23
27879694893054074471405
27907865009977052567814
35452590104031691935943
21887696841122916288858
28361281321319229463398
Answers: 5
1 ms.
n = 24
174088005938065293023722
188451485447897896036875
239313664430041569350093
Answers: 3
0 ms.
n = 25
3706907995955475988644380
3706907995955475988644381
832662335985815242605070
832662335985815242605071
1550475334214501539088894
4422095118095899619457938
1553242162893771850669378
114735624485461118832514
Answers: 8
3 ms.
n = 26
Answers: 0
1 ms.
n = 27
77888878776432530886487094
7584178683470015004720746
174650464499531377631639254
128851796696487777842012787
177265453171792792366489765
121204998563613372405438066
121270696006801314328439376
Answers: 7
5 ms.
n = 28
Answers: 0
2 ms.
n = 29
23866716435523975980390369295
5022908050052864745436221003
14607640612971980372614873089
477144170826130800418527003
19008174136254279995012734740
19008174136254279995012734741
4716716265341543230394614213
Answers: 7
11 ms.
n = 30
Answers: 0
4 ms.