Solution to the problem number URJC1_D of Spoj - URJC1_D.

Any questions do not hesitate to contact.

///Rollitos URJC

#include <iostream>
using namespace std;
int main()
{
    int casos,rollitos,personas;
    cin >> casos;
    while(casos--)
    {
        cin>>personas>>rollitos;
        if(rollitos%personas==0)
        {
            cout << rollitos/personas<<"\n";
        }
        else
            cout << "BRING ME MOAR SUSHI!\n";
    }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!