1 solutions

  • 0
    @ 2023-9-30 13:45:27
    #include<iostream>
    using namespace std;
    #define ll long long
    ll a,b,c;
    int main()
    {
    	cin>>a>>b;
    	c=a/b;
    	cout<<c<<" "<<(a-b*c);
    	return 0;
    }
    
    • 1

    Information

    ID
    6718
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    4
    Tags
    (None)
    # Submissions
    249
    Accepted
    123
    Uploaded By