da eba
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user