Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdint>
- #include <iostream>
- #include <limits>
- using namespace std;
- int main() {
- const auto min = numeric_limits<int64_t>::min();
- const auto max = numeric_limits<uint64_t>::max();
- std::cout << min << endl;
- std::cout << max << endl;
- std::cout << min + max << endl;
- std::cout << min * 2 << endl;
- std::cout << max * 2 << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement