diff options
author | ache <ache@ache.one> | 2018-09-05 00:56:09 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2018-09-05 00:56:09 +0200 |
commit | 2bae1659ba8eb742f737ccb31d9ad7f25f9599f7 (patch) | |
tree | d8ad2b75cefbcc70f9c31f154682a44299958f67 /p71/p_71.cpp |
Init commit
Diffstat (limited to 'p71/p_71.cpp')
-rw-r--r-- | p71/p_71.cpp | 20 |
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; +} |