This commit is contained in:
2024-05-22 00:27:59 +05:00
parent a07721289a
commit b3421d5049
52 changed files with 15 additions and 17117 deletions
+2 -2
View File
@@ -196,12 +196,12 @@ void UcppGI::countFreeApartments(Fcppcoords coords, int& free, int& all, float&
bool temp = false;
for (auto& flat : getFlatArr_(coords, len)) {
if (flat.available) {
if (!temp&& flat.Price>0) {
if (!temp&& flat.Price>100) {
minPrice = flat.Price;
temp = true;
}
free++;
if (flat.Price < minPrice&& flat.Price>0) minPrice = flat.Price;
if (flat.Price < minPrice&& flat.Price>100) minPrice = flat.Price;
}
}
minPrice /= 1000000;