2 solutions

  • 0
    @ 2024-7-24 16:29:29
    #include<bits/stdc++.h>
    using namespace std;
    int main(){int a,b;cin>>a>>b;cout<<a/b<<" "<<a%b;return 0;}
    
    • -4
      @ 2024-7-12 10:27:29
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          int a,b;
          cin>>a>>b;
          cout<<a/b<<' '<<a%b;
          return 0;
      }
      
      • 1

      Information

      ID
      840
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      (None)
      # Submissions
      127
      Accepted
      85
      Uploaded By