13 条题解

  • -12
    @ 2022-1-8 10:54:52
    #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
    标签
    递交数
    1462
    已通过
    539
    上传者