Atcoder beginer contest 237 problem solution
AtCoder Beginner Contest 237
A - Not Overflow
Title Description: give you an integer in the range of long long and judge whether it is in the range of int.
Idea: simulate according to the meaning of the topic
Time complexity: \ (O(1) \)
Reference code:
void solve() {
long long n;
cin >> n;
if (n >= INT_MIN && n <= INT_MA ...
Posted by dupreelove on Wed, 02 Feb 2022 21:58:44 +0100