1 solutions

  • 0
    @ 2024-2-3 19:44:46

    C++ :

    #include<iostream>
    using namespace std;
    int main()
    {
        int a,b;
    	cin>>a>>b;
    	cout<<a/b<<" "<<a%b<<endl;
    	return 0;
    }
    

    Information

    ID
    32
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    8
    Accepted
    8
    Uploaded By