Search found 148 matches

by Shahidul.CSE
Fri Dec 12, 2014 10:02 am
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 25966

Re: 531 - Compromise

Code: Select all

Accepted ! 
by Shahidul.CSE
Thu Dec 11, 2014 8:11 am
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 46006

Re: 10137 - The Trip

Why I am getting WA with my bellow code?

Code: Select all

Accepted
by Shahidul.CSE
Thu Dec 04, 2014 6:57 am
Forum: Volume 117 (11700-11799)
Topic: 11760 - Brother Arif, Please feed us!
Replies: 15
Views: 4190

Re: 11760 - Brother Arif, Please feed us!

Thanks ! Now I fixed my mistake. I used '==' instead of '=' . ( what a great fool I am :) )
Got accepted ! :D
by Shahidul.CSE
Wed Dec 03, 2014 5:02 pm
Forum: C++
Topic: How to sort a 2D char array using c++ sort() or qsort() Fn?
Replies: 1
Views: 2835

How to sort a 2D char array using c++ sort() or qsort() Fn?

Suppose, I have a 2D array of chars: char names[10000][15]; How can I sort it lexicographically using c++ sort() or qsort() function? I tried in this way: #define M 10000; qsort(names, sizeof(names) / M, M, (int (*)(const void *, const void *)) strcmp); But it doesn't work. It just gives blanks stri...
by Shahidul.CSE
Wed Dec 03, 2014 6:34 am
Forum: Volume 117 (11700-11799)
Topic: 11760 - Brother Arif, Please feed us!
Replies: 15
Views: 4190

Re: 11760 - Brother Arif, Please feed us!

getting WA.

Code: Select all

code removed after Accepted !!
by Shahidul.CSE
Wed Dec 03, 2014 6:32 am
Forum: Volume 3 (300-399)
Topic: 340 - Master-Mind Hints
Replies: 27
Views: 8520

Re: 340 - Master-Mind Hints

Thanks ! :D
by Shahidul.CSE
Wed Dec 03, 2014 5:59 am
Forum: Volume 107 (10700-10799)
Topic: 10761 - Broken Keyboard
Replies: 31
Views: 12002

Re: 10761 - Broken Keyboard

Thanks brianfry713 sir, now I got Accepted ! :D
by Shahidul.CSE
Wed Dec 03, 2014 5:18 am
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 31109

Re: 10815 - Andy's First Dictionary

My code works fine for the given sample input in problem.
by Shahidul.CSE
Tue Dec 02, 2014 7:24 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 31109

Re: 10815 - Andy's First Dictionary

I am getting RTE. Whats wrong with my code? #include <stdio.h> #include <string.h> int main() { int len, i, j,c=0; char txt[202], word[5002][202], temp[202]; while(scanf("%s",&txt)!=EOF) { len=strlen(txt); j=0; for(i=0;i<len;i++) { if(txt[i]>='a' && txt[i]<='z') temp[j++]=txt[i]; else if(txt[i]>='A'...
by Shahidul.CSE
Tue Dec 02, 2014 7:20 pm
Forum: Volume 119 (11900-11999)
Topic: 11988 - Broken Keyboard (a.k.a. Beiju Text)
Replies: 27
Views: 9682

Re: 11988 - Broken Keyboard (a.k.a. Beiju Text)

this problem can be easily solved by using c++ list
by Shahidul.CSE
Tue Dec 02, 2014 5:43 pm
Forum: Volume 107 (10700-10799)
Topic: 10761 - Broken Keyboard
Replies: 31
Views: 12002

Re: 10761 - Broken Keyboard

I am getting WA. Whats wrong in my code?

Code: Select all

Code now accepted !
by Shahidul.CSE
Tue Dec 02, 2014 8:29 am
Forum: Volume 3 (300-399)
Topic: 340 - Master-Mind Hints
Replies: 27
Views: 8520

Re: 340 - Master-Mind Hints

Can anybody please explain the sample output clearly? I didn't understand how to determine i and j for each guess.
For each guess for the given sample input in problem, explain me how each match(i, j) in output is generated.
by Shahidul.CSE
Tue Dec 02, 2014 12:51 am
Forum: Volume 117 (11700-11799)
Topic: 11760 - Brother Arif, Please feed us!
Replies: 15
Views: 4190

Re: 11760 - Brother Arif, Please feed us!

Hi, I am getting WA with my code.
Please anybody give me some input for which my code fails to give correct output...
by Shahidul.CSE
Mon Dec 01, 2014 10:14 am
Forum: Volume 8 (800-899)
Topic: 850 - Crypt Kicker II
Replies: 77
Views: 36839

Re: 850 - Crypt Kicker II

I am getting WA with my code. The problem statement says.. If there is more than one possible decryption (several lines can be decoded to the key sentence), use the first line found for decoding. Input: 4 vtz ud xnm xugm itr pyy jttk gmv xt otgm xt xnm puk ti xnm fprxq xnm ceuob lrtzv ita hegfd tsmr...
by Shahidul.CSE
Mon Dec 01, 2014 7:58 am
Forum: Volume 8 (800-899)
Topic: 850 - Crypt Kicker II
Replies: 77
Views: 36839

Re: 850 - Crypt Kicker II

Thanks lighted!

Go to advanced search