summaryrefslogtreecommitdiff
path: root/p71/p_71.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p71/p_71.cpp')
-rw-r--r--p71/p_71.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/p71/p_71.cpp b/p71/p_71.cpp
new file mode 100644
index 0000000..a2d3693
--- /dev/null
+++ b/p71/p_71.cpp
@@ -0,0 +1,20 @@
+#include <iostream>
+
+const int digitToFact[] = {
+ [0] = 1,
+ [1] = 1,
+ [2] = 2,
+ [3] = 6,
+ [4] = 24,
+ [5] = 120,
+ [6] = 720,
+ [7] = 5040,
+ [8] = 40320,
+ [9] = 362880
+};
+
+int main() {
+
+
+ return EXIT_SUCCESS;
+}