Restore all works including lab-2

This commit is contained in:
2026-09-29 10:00:23 +03:00
parent 8df560c01e
commit a540798739
15 changed files with 1 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
unsigned long long factorial(int n) {
unsigned long long res = 1;
for (int i = 1; i <= n; ++i) {
res *= i;
}
return res;
}