解题思路:

直接使用宏定义求解即可

注意事项:

参考代码:

#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 人评分

  评论区