解题思路:
直接使用宏定义求解即可
注意事项:
参考代码:
#include<iostream>
using namespace std;
#define dfs (a%b)
int main()
{
int a, b;
cin >> a >> b;
cout << dfs << endl;
return 0;
}
0.0分
0 人评分
点我有惊喜!你懂得!浏览:1242 |
C语言程序设计教程(第三版)课后习题7.4 (C语言代码)浏览:461 |
C二级辅导-公约公倍 (C语言代码)浏览:1518 |
A+B for Input-Output Practice (IV) (C语言代码)浏览:471 |
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码)浏览:617 |
校门外的树 (C语言代码)浏览:714 |
C语言考试练习题_一元二次方程 (C语言代码)浏览:594 |
Cylinder (C语言描述+详细分析)浏览:3294 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:544 |
字符串的输入输出处理 (C语言代码)浏览:1035 |