1037: [编程入门]宏定义的练习(Python)
摘要:解题思路:自定义函数注意事项:区分算数运算符的运用:/ 除 60/10 6 % 取余 10%9 1 参考代码:def much_1(a,b):
……
题解 1037: [编程入门]宏定义的练习
摘要:##思路
`a%b`即可。
##代码
```cpp
#include
using namespace std;
int main(){
int a,b;
cin>>a>>b;
……
C++宏练习 简洁易懂
摘要:解题思路:注意事项:参考代码:#include <iostream>#define yu(a,b) (a%b) using namespace std;int main(){ int a,b,c; c……
python编写a%b
摘要:解题思路:跟a+b一样的思路只是改运算符,具体注意事项参照a+b参考代码:while True: try: a,b=map(int,input().strip().split()) print(a……