JUSTLaith/1A--CodeForces — pull request #1 by JUSTLaith (2014-05-07 07:53:24+00:00)
Title: Create  6. Balloons Colors	

#include
#include
#include
#include
#include
#include
using namespace std;

int main()
{
int T,N,X,Y,A;

cin>>T;
for(int i=1;i<=T;i++)
{
cin>>N>>X>>Y;
vectorP(N);

for(int j=0;j>P[j];

if(P[0]==X && P[P.size()-1]==Y)
cout<<"BOTH"<