Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Задание 3.
- */
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main() {
- uint64_t m;
- cin >> m;
- uint64_t power = 0;
- while (pow(4, power + 1) < m) {
- power++;
- }
- cout << power;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement