[编程入门]宏定义的练习-题解(C语言代码) 摘要:#include #define yu(a,b) t=a%b; #include int main() { int a,b,t,c; scanf("%d%d",&a,&b); c…… 题解列表 2019年12月04日 0 点赞 1 评论 1703 浏览 评分:8.0
[编程入门]宏定义的练习-题解(Python代码) 摘要:**代码如下:** x=list(map(int,input().split())) s=x[0]%x[1] print(s) **不太明白宏是什么 可能py…… 题解列表 2019年12月03日 0 点赞 2 评论 2761 浏览 评分:8.8
[编程入门]宏定义的练习-题解(C语言代码) 摘要: #include //#include "Header.h" #define PI 3.14159 #define ABS(x) ((x)>=0?(x):(-x…… 题解列表 2019年11月03日 0 点赞 0 评论 846 浏览 评分:0.0
[编程入门]宏定义的练习-题解(C语言代码) 定义函数 摘要:#include #include int yushu(int a,int b) { int sum; sum=a%b; return sum; } int main() { …… 题解列表 2019年06月13日 0 点赞 0 评论 1013 浏览 评分:0.0
[编程入门]宏定义的练习 与输入顺序无关(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define sq(m,n) m-(m/n)*nint main(){ int x,y,sq,temp; scanf("%d%d",&…… 题解列表 2019年05月11日 0 点赞 0 评论 1051 浏览 评分:0.0
[编程入门]宏定义的练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define fun(a,b) t=a%b;int main(){ int a,b,t; scanf("%d",&a); scanf(…… 题解列表 2019年05月04日 0 点赞 0 评论 1261 浏览 评分:0.0
[编程入门]宏定义的练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define R(a,b) a%b int main() { int a,b,rem; scanf("…… 题解列表 2019年05月03日 0 点赞 0 评论 1172 浏览 评分:0.0
[编程入门]宏定义的练习 (C语言代码)。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N(x,y) t=x%y;int main(){ int x,y,t; scanf("%d%d",&x,&y); N(x…… 题解列表 2019年05月01日 0 点赞 0 评论 893 浏览 评分:0.0
[编程入门]宏定义的练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define qy(a,b) a%bint main(){int a,b; scanf("%d %d",&a,&b); p…… 题解列表 2019年04月22日 2 点赞 0 评论 1143 浏览 评分:0.0
[水]宏定义的练习 (C++代码) 摘要:解题思路: 求余数?翻译一下就是求余注意事项: 注意点: 求余只能是整数,当然题目中也说明了,所以变量只能开int参考代码:#include<bits/stdc++.h>using …… 题解列表 2019年04月16日 0 点赞 0 评论 948 浏览 评分:0.0