Search found 3 matches

by Imran Bin Azad
Tue Oct 11, 2011 8:23 pm
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 38891

Re: 10190 TE why? please help me any body

you are printing an extra white space after the last integer

Code: Select all

for(j=0;j<i;j++)
printf("%d ",a[j]);
by Imran Bin Azad
Sat Aug 20, 2011 4:10 pm
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 23297

Re: 11280 - Flying to Fredericton

Here, flight costs can be 0

I got this after getting no more than 7 'wa's :)
by Imran Bin Azad
Thu Jun 03, 2010 9:05 pm
Forum: Volume 4 (400-499)
Topic: 455 - Periodic Strings
Replies: 73
Views: 29174

Re: Problem 455: WA

i'm gettin' wa in this code...
need help

#include<stdio.h>
#include<string.h>

int main()
{
int i,j,k,l,len,done,x,t;
char s[100],c[100];
scanf("%d",&t);
getchar();

for (x=1; x<=t; ++x)
{
getchar();
gets(s);
len=strlen(s);

for (i=1; i<=len; ++i)
{
for (j=0; j<i; ++j)
{
c[j]=s[j ...

Go to advanced search