This commit is contained in:
AlexWify
2026-09-17 20:16:12 +03:00
parent ab479fad06
commit 561b713c32
28 changed files with 343 additions and 0 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;
}