Search found 9 matches

by rahid
Sat Dec 03, 2011 6:33 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 21694

444 - Encoder and Decoder (runtime Error!)

I got runtime error for my code. Please give me some clue why its happened??

Code: Select all

Code Deleted After Solved!! :)
by rahid
Thu Jul 14, 2011 12:11 am
Forum: Volume 114 (11400-11499)
Topic: 11463 - Commandos
Replies: 18
Views: 10192

Re: 11463 - Commandos

Please help me. I'm unable to solve it. #include<cstdio> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<queue> #include<stack> #include<iostream> #include<string> #include<cstring> using namespace std; #define IN ({int _T; scanf("%d", &_T); _T;}) #define REP(i, limit...
by rahid
Fri Mar 11, 2011 4:58 am
Forum: Volume 119 (11900-11999)
Topic: 11917 - Do Your Own Homework
Replies: 21
Views: 2973

Re: 11917 - Do Your Own Homework

ThanX for your reply. Problem have been solved just after adding a single new line at the end.
by rahid
Thu Mar 10, 2011 6:36 am
Forum: Volume 119 (11900-11999)
Topic: 11917 - Do Your Own Homework
Replies: 21
Views: 2973

11917 - Do Your Own Homework

Please tell me whats wrong with my code??

Code: Select all

CODE HAS BEEN DELETED!!

by rahid
Mon Aug 02, 2010 9:42 pm
Forum: Volume 117 (11700-11799)
Topic: 11799 - Horror Dash
Replies: 13
Views: 4881

Re: 11799 - Horror Dash

anis_cuet016 wrote:U dont even need an array .............

Anis
Hello Anis. What is your algorithm for this problem. Please share.
by rahid
Thu Jul 22, 2010 11:46 am
Forum: Volume 117 (11700-11799)
Topic: 11799 - Horror Dash
Replies: 13
Views: 4881

Re: 11799 - Horror Dash

Code has been removed!!
by rahid
Fri Jul 02, 2010 2:06 pm
Forum: Volume 117 (11700-11799)
Topic: 11799 - Horror Dash
Replies: 13
Views: 4881

Re: 11799 - Horror Dash (Run Time Error)

sohel wrote:Why is your array size 51? N can be as big as 100.
ThanX i got my answer. And its accepted.
by rahid
Thu Jul 01, 2010 10:54 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 46172

Re: Hashmat Warrior

This problem wants the output must be in positive. For the input 100 200 it should be output 100. But what about the input 200 100? Your code should give the output -100. But it should be 100. So make it possible.

Thats it!!

:D :) :D
by rahid
Thu Jul 01, 2010 10:43 pm
Forum: Volume 117 (11700-11799)
Topic: 11799 - Horror Dash
Replies: 13
Views: 4881

11799 - Horror Dash

For the easy problem 11799 - Horror Dash I'm getting runtime error!! Interestingly I'm using gcc/g++ compiler in fedora. My compiler version is 4.4.4 20100503. I have no problem at runtime but I'm getting runtime error. How!!! I tested my code in dev cpp in windows platform. Still no runtime problem...

Go to advanced search