Search found 5 matches

by ahmad_h
Sat Nov 17, 2007 7:14 pm
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 49539

10137 - The Trip

I have looked all over the forum and I can't understand why am I getting a WA on this one :oops: The method I use: First of all the thing to understand is that by the end of the day (after exchanging money) all friends will have spent an amount which is within 0.01 of all the other amounts. So we ju...
by ahmad_h
Sat Nov 17, 2007 7:08 pm
Forum: C
Topic: stack / heap size limit
Replies: 3
Views: 7708

stack / heap size limit

I wanted to inquirea that is it possible to get a Runtime Error because of a big stack size. If so what is the limit; how much stack space you are allowed by the judge. I have looked over the forums but couldn't find an answer...if i'm mistaken please point me to it. I know I have put this message i...
by ahmad_h
Fri Sep 29, 2006 3:57 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 27254

108 - what happens to a input of zeros

What should be the output to this:
3
0 0 0
0 0 0
0 0 0

Any ideas?
by ahmad_h
Mon Mar 28, 2005 8:28 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 69016

Thank you Ariyan for looking into my problem....my code is doing exactly the same thing as you are saying. I calculate my cost like this for eg if you have this line...4 3 5 8 1 4 2 4 6...and the combination i'm looking at is BGC...my calculation comes out to be (3 + 5) + (8 + 4) + (2 + 4), I have c...
by ahmad_h
Sun Mar 27, 2005 10:53 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 69016

WA for 102::frustrating

I keep getting WA for this simple problem....plz help me out...plzz cause this is getting frustrating /* @BEGIN_OF_SOURCE_CODE */ /* @JUDGE_ID: 45253TH 102 C++ "3'rd problem solved" */ #include <iostream> using namespace std; int main() { char bin_comb[6][4] = {"021", "012", "201", "210", "102", "12...

Go to advanced search