Search found 2 matches

by ata
Mon Jan 07, 2008 7:57 pm
Forum: Volume 1 (100-199)
Topic: 156 - Ananagrams
Replies: 30
Views: 7097

Getting RE plz Help

hi ...
i m getting RE for this program....
cant find out why..
Can anyone help plz...

here is my code.........


#include<stdio.h>
#include<string.h>
int str[26];
char result[1001][25];

int is_ana(char c[],char d[])
{
char e[25],b[25];
int i,j,k;

strcpy(e,c);
strcpy(b,d);
if(strlen(e ...
by ata
Mon Jan 07, 2008 7:49 pm
Forum: Volume 1 (100-199)
Topic: 154 - Recycling
Replies: 29
Views: 6213

wa ...anyone help

i have tested the test inputs in the forum....
can anyone plz tell me why my program gives wa...
here is my code...

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

char recycle[6]="PGASN";
char waste[6]="roygb";
int city[100][5];
int result[100];

int find_max(int x[],int num)
{
int max,i,index;
max=0 ...

Go to advanced search