This commit is contained in:
328p
2026-09-16 12:10:09 +03:00
parent 65cbde6eaf
commit 87e8059c18
16 changed files with 144 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;
}