wrong output fix
This commit is contained in:
@@ -71,12 +71,8 @@ namespace DobozFeladat
|
||||
Boxes.RemoveAll(x => x.ReadyForPackaging());
|
||||
}
|
||||
|
||||
int length = 0;
|
||||
foreach (var Box in Boxes)
|
||||
{
|
||||
length += Box.PrintBoxRecursively().Count();
|
||||
}
|
||||
Console.WriteLine($"Maximum length needed: {length}");
|
||||
|
||||
Console.WriteLine($"Maximum length needed: {MaximumLength}");
|
||||
Console.WriteLine($"Total box place needed: {TotalBoxPlaceUsed}");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user