Search found 1 match

by s4k1b
Sat Jul 19, 2014 7:20 pm
Forum: Volume 100 (10000-10099)
Topic: 10032 - Tug of War
Replies: 91
Views: 43724

Re: 10032 - Tug of War

This code gives correct ans to all this inputs but still i get WA when i Submit
can anyone find me a critical input or tell me what is wrong with it?
#include<stdio.h>
int swap(int *s,int start,int end,int start1)
{
int sp,i,j;
for(i=start,j=start1;i<=start+end;i++,j++)
{
sp=s[i];
s[i]=s[j ...

Go to advanced search