This commit is contained in:
328p
2026-09-15 16:37:03 +03:00
parent d3b5b92913
commit 44b14d1ef7
16 changed files with 147 additions and 30 deletions
+7
View File
@@ -0,0 +1,7 @@
unsigned long long factorial(int a) {
unsigned long long c = 2;
for (int i = 1; i <= a; ++i) {
c *= i;
}
return c;
}