判断·两个大 int 相加

judge 难度 3

#variable

20 亿加 1 亿会怎样?

题目

int a = 2000000000, b = 100000000; 那么 a + b 的结果是 2100000000,不会溢出。
来小码星球,动手写一遍 →