This commit is contained in:
328p
2026-09-29 17:12:05 +03:00
parent d9c76072d1
commit e687473369
12 changed files with 130 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;
}