2 条题解

  • 1
    @ 2025-11-24 19:18:21
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int a,b;
        cin>>a>>b;
        cout<<a/b<<" "<<a%b;
        return 0;
    }
    
    • 0
      @ 2025-11-21 21:24:18

      老传统 函数

      #define writen by Neo
      #include<bits/stdc++.h>
      using namespace std;
      long long divv(int a,int s){
          return a/s;
      }
      long long mod(int a,int s){
          return a%s;
      }
      int main(){
          int a,s;
          cin>>a>>s;
          cout<<divv(a,s)<<' '<<mod(a,s);
          return 0;
      }
      

      依旧求助关于如何改名(OJ中)

      • 1

      信息

      ID
      6813
      时间
      1000ms
      内存
      128MiB
      难度
      1
      标签
      递交数
      55
      已通过
      36
      上传者