init commit

This commit is contained in:
2025-04-13 21:48:15 +03:00
commit 23255e9121
192 changed files with 12200 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
// по номеру начального размер блока и указатель на таблицу файлов
// вывести размер файла
unsigned int
f(unsigned int n, unsigned int *table)
{
unsigned int size = 0;
int first_block = table[n];
while (first_block) {
size++; // размер блока
first_block = table[first_block];
}
return size;
}