How can I check if (a + b) is larger than (max long long)

Правка en1, от tgbaodeeptry, 2021-05-22 15:57:01

Assume I have 3 long long varables a, b and n. And them are approximately (max long long)( 2.10^18 ).

So, is there any ways that I can check if a + b is larger than n?

Thanks so much guys

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский tgbaodeeptry 2021-05-22 15:58:00 5 Tiny change: ').\n\nSo, is there any' -> ').\n\nSo, are there any'
en1 Английский tgbaodeeptry 2021-05-22 15:57:01 265 Initial revision (published)