Solution to the problem number URJC2_C of Spoj - URJC2_C.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
using namespace std;
int main()
{
int i;
cin>>i;
while(i--)
{
    int p,m;
    cin>>p>>m;
    while(p--)
    {
        int n;
        cin>>n;
        if(n<m)
            cout<<"Yes, it blends!\n";
        else
            cout<<"Well, it mostly blended\n";
    }
}
return 0;
} 

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!