This commit is contained in:
Anton Dolozin 2025-11-05 00:21:36 +01:00
parent c7fca6e06e
commit e276d73b22

View File

@ -99,6 +99,7 @@ int count_capacity(struct station* station){
struct car* ptr = *station->tracks;
while (ptr){
res += ptr->capacity;
ptr = ptr->next;
}
return res;