4 solutions

  • 0
    @ 2025-7-21 11:58:41
    #incude <bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b;
    	cin>>a>>b;
    	int z=a/b;
    	int c=a%b;
    	cout<<z<<" "<<c;
    	return 0;
    }
    

    Information

    ID
    840
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    2
    Tags
    (None)
    # Submissions
    146
    Accepted
    94
    Uploaded By