[编程入门]宏定义的练习 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ cin>>a>>b; co…… 题解列表 2022年05月06日 0 点赞 0 评论 449 浏览 评分:0.0
编写题解 1037: [编程入门]宏定义的练习--解题 摘要:解题思路:注意事项:参考代码:#include <iostream>#define REMAINDER(num1, num2) (num1 % num2)using namespace std;int…… 题解列表 2022年03月08日 0 点赞 0 评论 439 浏览 评分:0.0
1037: [编程入门]宏定义的练习 摘要:解题思路:和上一题一样,主要是为了练习宏定义的格式。注意事项:无,甚至不用写注释。参考代码:#include <iostream> #define REMAINDER(num1, num2) (…… 题解列表 2022年03月04日 0 点赞 1 评论 814 浏览 评分:9.9
C++宏定义求余数 摘要:解题思路:#define remainder a%b注意事项:暂时不明参考代码:#include<iostream>#include<string>using namespace std;#defin…… 题解列表 2021年12月28日 0 点赞 0 评论 936 浏览 评分: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 评论 809 浏览 评分:9.9
[编程入门]宏定义的练习-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define RMD(a,b) a%b;int main(){ int a1,b1; ci…… 题解列表 2020年08月06日 0 点赞 0 评论 1313 浏览 评分:9.9
[编程入门]宏定义的练习-题解(C++代码) #MarkDown编辑器基本使用说明**如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。**##实时预览、全屏显示**编辑器左边是输入框, 题解列表 2020年03月14日 0 点赞 0 评论 893 浏览 评分:0.0
[编程入门]宏定义的练习-题解(C++代码) `#includeusingnamespacestd;#definediv(a,b)a%bintmain(){inti,j;cin>>i>>j;cout 题解列表 2020年02月06日 0 点赞 0 评论 2188 浏览 评分:9.9
[水]宏定义的练习 (C++代码) 摘要:解题思路: 求余数?翻译一下就是求余注意事项: 注意点: 求余只能是整数,当然题目中也说明了,所以变量只能开int参考代码:#include<bits/stdc++.h>using …… 题解列表 2019年04月16日 0 点赞 0 评论 1129 浏览 评分:0.0
琪露诺的编程教室(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#define Y(a,b) (a%b)using namespace std;int main(){ int a,b; cin>>…… 题解列表 2017年12月23日 0 点赞 0 评论 1373 浏览 评分:0.0