Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
so
#include <iostream> #include <cmath> int main() { const std::uint64_t bytes = (1ull << 50) -1; // (2^50-1) int exp = static_cast<int>(std::floor(std::log((double) bytes) / std::log((double) 1024))); std::cout << exp; }
run
|
edit
|
history
|
help
0
12532
Lex cpp
Dar
Dar
PreDir
VirtualRestoPoint
Optimization Lab 2
A+B ორობით სისტემაში
MemCpySetChar
ThreadPool