Search found 10 matches

by ALEXANDRIA_2
Wed Dec 20, 2006 2:59 pm
Forum: Volume 4 (400-499)
Topic: 454 - Anagrams
Replies: 97
Views: 36179

Thanks for replying Jan
finally found my silly mistake
I forgot to print a new line after the last output
by ALEXANDRIA_2
Thu Nov 23, 2006 4:21 pm
Forum: Volume 7 (700-799)
Topic: 739 - Soundex Indexing
Replies: 39
Views: 18004

hello vijay03

try to increase your array size from b[5] to b[25]






hope u get AC soon...
by ALEXANDRIA_2
Wed Nov 22, 2006 7:33 pm
Forum: Volume 4 (400-499)
Topic: 454 - Anagrams
Replies: 97
Views: 36179

454 why PE???

Hi all, I still wondering what makes my program PE...
can u give me some hints...
thanks before..


input:
2

carthorse
horse
horse cart
i do not know u
ok i now donut
orchestra

aaa
aaa
aaa

output:
carthorse = horse cart--->end of line
carthorse = orchestra---->eol
horse cart = orchestra--->eol ...
by ALEXANDRIA_2
Sun Nov 12, 2006 7:18 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 49454

hi albet
I thought u miss this one

Code: Select all

3. Do not change the case of any letter. 
try these:

Code: Select all

input:
alex
Alex

Code: Select all

output:
alexay
Alexay
hope u get AC soon :D
by ALEXANDRIA_2
Sat Nov 11, 2006 2:21 pm
Forum: Volume 101 (10100-10199)
Topic: 10116 - Robot Motion
Replies: 10
Views: 5707

hi mukeshtiwari,
it said that:

Code: Select all

The word "step" is always immediately followed by "(s)" whether or not the number before it is 1.
u should add "(s)" on all your print statement...
and maybe remove your comment statement...

Hope u get AC soon. :D
by ALEXANDRIA_2
Wed Nov 08, 2006 5:21 am
Forum: Volume 4 (400-499)
Topic: 498 - Polly the Polynomial
Replies: 73
Views: 21968

I can't understand why I keep gettin WA all the time...
can anyone tell me what's wrong with my code...

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


long int A[100];
long int B[100];
int in;

int tes(char line[],int w){
long int i,len,isneg=1,f=0,sum=0,T;
in=0;
len=strlen(line ...
by ALEXANDRIA_2
Tue Nov 07, 2006 8:53 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 58064

Hi Salehwar...
don't give up...
u only need to fix ur output statement

Code: Select all

cout<<str<<" -- is a regular plaindrome.\n"<<endl;
to

Code: Select all

cout<<str<<" -- is a regular palindrome.\n"<<endl;
and don't forget to remove ur code after get AC.. :wink:
by ALEXANDRIA_2
Tue Nov 07, 2006 5:34 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 58064


Note that O (zero) and 0 (the letter) are considered the same character and therefore ONLY the letter "0" is a valid character.

I thought a valid character means that it have a reverse character,
the second AT0Y0TA is formed by two 0(zero), since zero doesn't have the reverse character so it ...
by ALEXANDRIA_2
Tue Nov 07, 2006 3:34 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 58064

to Salehwar
u can try :

Code: Select all

input:
8
C
ATOYOTA
AT0Y0TA
ATOY0TA

Code: Select all

output
8 -- is a mirrored palindrome.

C -- is regular palindrome.

ATOYOTA -- is a mirrored palindrome.

AT0Y0TA -- is a regular palindrome.

ATOY0TA -- is not a palindrome.

Hope u get AC soon...
by ALEXANDRIA_2
Tue Nov 07, 2006 2:19 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 58064

very confused bout 401....

Hi all, can anybody tell me what's wrong with my code..
I still gettin WA all the time...

Code: Select all

Removed after get ACC
Thanks..

Go to advanced search