宏定义的练习 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Division(a,b) (a)%(b)int main(){ int a,b; scanf("%d %d"…… 题解列表 2023年10月15日 0 点赞 0 评论 482 浏览 评分:0.0
超简单代码 摘要:解题思路:宏定义 a%b得到答案即可注意事项:参考代码:#include<iostream>using namespace std;#define s(a,b) a%b;//宏定义规则int main…… 题解列表 2023年09月14日 0 点赞 0 评论 824 浏览 评分:9.9
宏定义的练习 摘要:解题思路:注意事项:注意要求是a/b的余数 余数参考代码:#include<stdio.h> #define yushu (a%b) int main() { int a,b,c; …… 题解列表 2023年07月21日 0 点赞 0 评论 730 浏览 评分:9.9
1037题: [宏定义的练习 摘要:# 自己写代码 ```c #include #include #define qiuyu(a,b) t=a/b; int main() { int a,b,t; scanf("…… 题解列表 2023年07月03日 0 点赞 0 评论 443 浏览 评分:0.0
[编程入门]宏定义的练习 摘要://a b两个数 #include<stdio.h> #define sum a%b int main(){ int a,b; scanf("%d%d",&a,&b); …… 题解列表 2023年06月03日 0 点赞 0 评论 443 浏览 评分:0.0
[编程入门]宏定义的练习(C++)(简单粗暴) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define ms(a,b) t=a%b;int main(){ int a,b,t; s…… 题解列表 2023年04月13日 0 点赞 0 评论 654 浏览 评分:9.9
无参宏定义 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define m a%bint main(){ int a,b; scanf("%d%d",&a,&b); printf("%d",m…… 题解列表 2023年03月10日 0 点赞 0 评论 492 浏览 评分:0.0
c++定义宏简单求余 摘要:解题思路:通过定义宏:#define quiYu(a,b) c=a%b //我英语不好,求余(quiYu)注意事项: 求余数:% 求除数:/参考代码:#include<i…… 题解列表 2023年01月04日 0 点赞 0 评论 521 浏览 评分:0.0
1037: [编程入门]宏定义的练习 摘要:```cpp #include #define S(a,b) a%b int main() { int a,b; scanf("%d %d",&a,&b); printf("%d…… 题解列表 2022年12月06日 0 点赞 0 评论 800 浏览 评分:9.9
C语言 宏定义的练习& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define remainder(a,b) printf("%d",a%b) int main(){ int a…… 题解列表 2022年11月19日 0 点赞 0 评论 478 浏览 评分:0.0