标签:bsp 范围 lse turn pac str mes cin col
1 #include<iostream> 2 #include<string> 3 4 using namespace std; 5 6 int main() 7 { 8 long A, B, C; 9 int n; 10 cin >> n; 11 for (int i = 0; i != n; ++i) 12 { 13 cin >> A >> B >> C; 14 cout << "Case #" << i + 1 << ": " << (A + B > C ? "true" : "false") << endl; 15 } 16 17 return 0; 18 }
int表示的范围:-2^31 ~ (2^31 - 1)
long表示的范围:64位机:-2^63 ~ (2^63 - 1) 32位机:-2^31 ~ (2^31 - 1)
long long表示的范围:-2^63 ~ (2^63 - 1)
标签:bsp 范围 lse turn pac str mes cin col
原文地址:https://www.cnblogs.com/Huayra/p/12176149.html