#include <iostream>
using namespace std;
int main()
{ int t ;
cin>>t;
for(int i=0;i<t;i++)
{ int a,b,n,x;
cin>>a>>b;
cin>>n;
for(int j=0;j<n;j++)
{
cin>>x;
if(x>b) cout<<"TOO_BIG"<<endl;
else if(x<=a) cout<<"TOO_SMALL"<<endl;
else cout<<"CORRECT"<<endl;;
}
}
}
--
You received this message because you are subscribed to the Google Groups
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-code/15514867-9b87-4729-87ab-40c87db22e4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.