This commit is contained in:
zxc
2026-09-10 18:52:30 +03:00
parent 00436d6847
commit e22570be2b
14 changed files with 26 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;
}