python编写a%b
摘要:解题思路:跟a+b一样的思路只是改运算符,具体注意事项参照a+b参考代码:while True: try: a,b=map(int,input().strip().split()) print(a……
C++宏练习 简洁易懂
摘要:解题思路:注意事项:参考代码:#include <iostream>#define yu(a,b) (a%b) using namespace std;int main(){ int a,b,c; c……
1037 宏定义的练习(相当于函数,不过有些参数需要声明)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define qiuyu(a,b) t=a%b;int main(){ int m,n,t; scanf("%d%d",&m,&n);……