# BYTE 2015 Dissappeared

Where has contest gone
Its very unusual
WTF!!

This contest sucked…Seriously i generally don’t abuse a contest but this one crossed all limits.Look at all the AC solution of the 5th question ( CodeChef: Practical coding for everyone ). They all are the same.I don’t know was it really a contest or something else ?

when will the 1st problem be moved to the peer section. i wish to check my solution.

Also why the submissions of first problem are still hidden :/. If you solved first problem can you please share your code. I am still confused why my solutions result in WA for both first and last problems.

int a;

int main(){

``````int t,n,i;

cin>>t;

while(t--){

cin>>n;

for(i=0;i<n;i++)
cin>>a[i];

int t1=0,t2=0,l=0,r=n-1,ans1=0,ans2=0;

while(l<=r){

if(l==r){

if(t1<=t2){
t1+=a[l];
l++;
ans1++;
continue;
}

else{
t2+=a[r];
r--;
ans2++;
continue;
}
}

if(t1<=t2){
t1+=a[l];
l++;
ans1++;
continue;
}

t2+=a[r];
r--;
ans2++;
continue;
}

cout<<ans1<<" "<<ans2<<endl;
``````

}

Thanks!!! I got my error, actually the order of names were different so that was the problem.

The author of the problem has a accepted solution woow