eolymp
bolt
Try our new interface for solving problems
Məsələlər

Kiçiklərdən ən böyüyü

dərc olunub 13.02.23 11:49:53

for üçün 3 i yazırıq burda niyə 2 i yazmalıyıq? C DİLİ

dərc olunub 15.04.24 12:09:37

include <iostream>

include <algorithm>

int main() { int n; std::cin >> n; int max = (n / 11) * 11;

if (max >= n) {
    std::cout << max - 11 << std::endl;
} else {
    std::cout << max << std::endl;
}

return 0;

}//100%

dərc olunub 15.04.24 12:17:02

include <iostream>

include <algorithm>

int main() { int n; std::cin >> n; int max = (n / 11) * 11;

if (max >= n) {
    std::cout << max - 11 << std::endl;
} else {
    std::cout << max << std::endl;
}

return 0;

}

dərc olunub 15.04.24 12:17:04

include <iostream>

include <algorithm>

int main() { int n; std::cin >> n; int max = (n / 11) * 11;

if (max >= n) {
    std::cout << max - 11 << std::endl;
} else {
    std::cout << max << std::endl;
}

return 0;

}

dərc olunub 15.04.24 12:17:25

include <iostream>

include <algorithm>

int main() { int n; std::cin >> n; int max = (n / 11) * 11;

if (max >= n) {
    std::cout << max - 11 << std::endl;
} else {
    std::cout << max << std::endl;
}

return 0;

}

dərc olunub 15.04.24 12:20:56

include <iostream>

include <algorithm>

int main() { int n; std::cin >> n; int max = (n / 11) * 11;

if (max >= n) {
    std::cout << max - 11 << std::endl;
} else {
    std::cout << max << std::endl;
}

return 0;

}//KÖÇÜRÜN GETSİNEE