You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// 测试:综合测试(所有功能)
|
|
int main() {
|
|
int a = 10, b = 5;
|
|
int c = a + b;
|
|
int d = a - b;
|
|
int e = a * 2;
|
|
int f = a / b;
|
|
int g = a % b;
|
|
int h = -c;
|
|
int i = +d;
|
|
a = b + c;
|
|
b = d + e;
|
|
return a + b + f + g + h + i;
|
|
}
|