Search found 6 matches

by udcp
Tue May 11, 2004 7:52 am
Forum: Volume 101 (10100-10199)
Topic: 10100 - Longest Match
Replies: 95
Views: 20742

10100

My code gives the output for the following inputs as.. 12 12 12 12 1. Length of longest match: 2 this is a test this is is a a test 2. Length of longest match: 4 76.67 67 67 67 76 3. Length of longest match: 2 (\n) (\n) 4. Blank! (\n) asd 5. Blank! (\n) (space) 6. Blank! (space) (space) 7. Length of...
by udcp
Wed May 05, 2004 7:44 pm
Forum: Volume 101 (10100-10199)
Topic: 10100 - Longest Match
Replies: 95
Views: 20742

Can anyone help me find the reason for WA?? : 10100

My code gives the output for the following inputs as.. 12 12 12 12 1. Length of longest match: 2 this is a test this is is a a test 2. Length of longest match: 4 76.67 67 67 67 76 3. Length of longest match: 2 (\n) (\n) 4. Blank! (\n) asd 5. Blank! (\n) (space) 6. Blank! (space) (space) 7. Length of...
by udcp
Mon Jun 24, 2002 8:46 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31087

I got it ACCEPTED!!!!!!! :D
The only change I made was changed
' int main(int argv, char *argc[]) '
to
'void main()'

But.. Can't we actually use command line args while submitting our program?? :-?
by udcp
Mon Jun 24, 2002 6:57 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31087

I have sent the code as plain text... Still I get WA!!!!!!!!
by udcp
Sat Jun 22, 2002 12:09 am
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31087

Help me correct the error??

I submitted the code shown below, and received a WA . Can anyone help me in finding out where I went wrong??? [cpp] /*"@BEGIN_OF_SOURCE_CODE"*/ #include <stdio.h> #include <iostream.h> #include <string.h> #include <ctype.h> int isPalindrome(char input[]) { int strlength; strlength = strlen(input); f...
by udcp
Fri Jun 21, 2002 10:36 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31087

401 : Can anyone help me??

I submitted the code shown below, and received a WA :( . Can anyone help me in finding out where I went wrong??? /*"@BEGIN_OF_SOURCE_CODE"*/ #include <stdio.h> #include <iostream.h> #include <string.h> #include <ctype.h> int isPalindrome(char input[]) { int strlength; strlength = strlen(input); for(...

Go to advanced search