带参数宏定义,交换数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Swap(x,y,t) (t=x,x=y,y=t) int main(){ int a,b,c; scanf…… 题解列表 2023年10月15日 0 点赞 0 评论 406 浏览 评分:0.0
宏定义的练习 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Division(a,b) (a)%(b)int main(){ int a,b; scanf("%d %d"…… 题解列表 2023年10月15日 0 点赞 0 评论 367 浏览 评分:0.0
宏定义练习之三角形面积 摘要:解题思路:已知三边可用海伦公式注意事项:参考代码:#include<stdio.h>#include<math.h>#define S(x,y,z) ((x)+(y)+(z))/2.0#define …… 题解列表 2023年10月15日 0 点赞 0 评论 302 浏览 评分:0.0
宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Max(a,b,c) a>b?(a>c?a:(b>c?b:c)):(b>c?b:c) int main(){ fl…… 题解列表 2023年10月15日 0 点赞 0 评论 319 浏览 评分:0.0
1954: 话费计算 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int n…… 题解列表 2023年10月15日 0 点赞 0 评论 388 浏览 评分:0.0
1953: 三位数分解 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int n…… 题解列表 2023年10月15日 0 点赞 0 评论 333 浏览 评分:0.0
1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int n…… 题解列表 2023年10月15日 0 点赞 0 评论 461 浏览 评分:0.0
1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; …… 题解列表 2023年10月15日 0 点赞 0 评论 417 浏览 评分:0.0
1933: 蓝桥杯算法提高VIP-约数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; …… 题解列表 2023年10月15日 1 点赞 0 评论 383 浏览 评分:0.0