编写题解 1037: [编程入门]宏定义的练习--解题 摘要:解题思路:注意事项:参考代码:#include <iostream>#define REMAINDER(num1, num2) (num1 % num2)using namespace std;int…… 题解列表 2022年03月08日 0 点赞 0 评论 110 浏览 评分:0.0
1037: [编程入门]宏定义的练习 摘要:解题思路:和上一题一样,主要是为了练习宏定义的格式。注意事项:无,甚至不用写注释。参考代码:#include <iostream> #define REMAINDER(num1, num2) (…… 题解列表 2022年03月04日 0 点赞 1 评论 483 浏览 评分:9.9
编写题解 1037: [编程入门]宏定义的练习(简洁python解) 摘要:解题思路:python中未涉及宏定义 注意事项:参考代码:a,b = map(int,input().split())print(a%b)…… 题解列表 2022年01月22日 0 点赞 0 评论 550 浏览 评分:7.5
1037宏定义的练习 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; int c; scanf("%d %d",&a,&b); c=a%b; printf("%d\…… 题解列表 2022年01月03日 0 点赞 0 评论 293 浏览 评分:0.0
C++宏定义求余数 摘要:解题思路:#define remainder a%b注意事项:暂时不明参考代码:#include<iostream>#include<string>using namespace std;#defin…… 题解列表 2021年12月28日 0 点赞 0 评论 350 浏览 评分:0.0
宏定义的练习-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define area a%bint main(){ int a,b; scanf("%d…… 题解列表 2021年12月13日 0 点赞 0 评论 220 浏览 评分:0.0
[编程入门]宏定义的练习(C++)(简单易懂) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#define s(a,b) a%bint main(){ int a,b,t; cin>>a…… 题解列表 2021年11月14日 0 点赞 0 评论 446 浏览 评分:9.9
什么是宏定义?反正这样可以算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main () { int a,b; scanf("%d%d",&a,&b); …… 题解列表 2021年11月11日 0 点赞 0 评论 247 浏览 评分:2.0
1037 可以的,C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int n,x,y;scanf("%d %d",&x,&y); n=x%y;printf("%d",n); r…… 题解列表 2021年11月05日 0 点赞 0 评论 197 浏览 评分:0.0
编写题解 1037: [编程入门]python代码 摘要:解题思路:注意事项:宏定义是C语言里的,python没有参考代码:a,b = map(int,input().split())c = a%bprint(c)…… 题解列表 2021年10月13日 0 点赞 0 评论 417 浏览 评分:8.0