Добавил работы

This commit is contained in:
2026-11-26 11:07:33 +03:00
parent aa5382dfc3
commit 8a589cbbc1
152 changed files with 2945 additions and 460 deletions
+7
View File
@@ -0,0 +1,7 @@
unsigned long factorial(int n) {
unsigned long res = 1;
for (int i = 2; i <= n; ++i) {
res *= i;
}
return res;
}