Solution to the problem number 506 of AceptaelReto - 506.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
using namespace std;

int main()
{
    int cases; scanf("%d",&cases);
    for(int i=0; i<cases;i++)
    {
       int n,m; scanf("%d / %d",&n,&m);
       if(n>=m) printf("BIEN\n");
       else printf("MAL\n");
    }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!