File tree 4 files changed +24
-0
lines changed 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ 10!
2
+ 3628800
3
+ 30!
4
+ 265252859812191058636308480000000
5
+ 50!
6
+ 30414093201713378043612608166064768844377641568960512000000000000
7
+ 100!
8
+ 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
Original file line number Diff line number Diff line change
1
+ 10
2
+ 30
3
+ 50
4
+ 100
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+ # https://uva.onlinejudge.org/external/6/623.pdf
3
+ while True :
4
+ try :
5
+ n = int (input ())
6
+ print (str (n )+ '!' )
7
+ k = 1
8
+ for i in range (1 ,n + 1 ):k *= i
9
+ print (k )
10
+ except :break
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ There are solutions for the following
25
25
([ problem site] ( https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=6&problem=400 ) )
26
26
* [ 579 - Clock Hands] ( 00579.cc )
27
27
([ problem site] ( http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=520 ) )
28
+ * [ 623 - 500!] ( 00623.py )
29
+ ([ problem site] ( http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=564 ) )
28
30
* [ 793 - Network Connections] ( 00793.cc )
29
31
([ problem site] ( http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=734 ) )
30
32
* [ 10004 - Bicoloring] ( 10004.cc )
You can’t perform that action at this time.
0 commit comments