13 条题解

  • 1
    @ 2023-11-7 17:39:33
    #include <stack>
    #include <iostream>
    #include <iomanip>
    #include <string.h>
    #include <algorithm>
    using namespace std;
    int main() 
    {
        int n,m,a,b,c;
        cin>>n>>m;
        a=n/m;
        c=a*m;
        b=n-c;
        cout<<b<<" "<<a;
    }
    

    信息

    ID
    811
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    1438
    已通过
    534
    上传者