Search found 10 matches

by someone2
Thu Jul 28, 2005 7:57 am
Forum: C++
Topic: Another compilation error!
Replies: 2
Views: 944

Thank you very much! :) I finally got accepted!! :)
by someone2
Wed Jul 27, 2005 11:52 am
Forum: C++
Topic: Another compilation error!
Replies: 2
Views: 944

Another compilation error!

Hi, Well, I just got another compilation error for a perfectly valid code. Since, I don't have any older versions of gcc, I was wondering if someone could, please try it and tell me what is wrong. here is the code. #include <iostream> #include <stdio.h> #include <vector> #include <set> #include <fun...
by someone2
Mon Jul 25, 2005 6:32 pm
Forum: C++
Topic: Compilation errors!
Replies: 4
Views: 1439

Thank you very much. This got the code compiled, but now, it got Time Limit Exceeded!! :o

Funny how I was thinking in the totally opposite direction. I thought the judge compiler was so new, it wouldn't even accept deprecated functions!! :lol:

Thanks again for the help. Sincerely appreciated.
by someone2
Sat Jul 23, 2005 11:01 pm
Forum: Other words
Topic: Eligibility Rules for 2005 Regionals
Replies: 4
Views: 1230

I never heard about this. Could you please send a link to where you found this?

I am too old anyway to participate in this, but I am just curious as to why they had to change the rules now! :)
by someone2
Sat Jul 23, 2005 10:59 pm
Forum: C++
Topic: Compilation errors!
Replies: 4
Views: 1439

Hi, Thanks a lot for the reply. I tried changing to #include <sstream> and using istringstream instead, but still I get a compilation error. I would appreciate it very much if you could tell me why it doesn't compile.. Here is the code.. #include <iostream> #include <cstdio> #include <vector> #inclu...
by someone2
Sat Jul 23, 2005 1:18 pm
Forum: Volume 2 (200-299)
Topic: 218 - Moth Eradication
Replies: 60
Views: 10127

Did you try this

Code: Select all

9
1 -1
1 0
1 1
0 1
0 -1
0 0
-1 1
-1 -1
-1 0
This should give a perimeter length of 8.
by someone2
Sat Jul 23, 2005 12:58 pm
Forum: C++
Topic: Compilation errors!
Replies: 4
Views: 1439

Compilation errors!

Hi, Since email submissions are now no longer accepted. I was wondering what we should do to know the exact compilation errors! I have a program here. It compiles fine on djgpp on my machine (and on visual C++ 6.0). but it is giving me a compilation error all the time Does the judge give a compilati...
by someone2
Wed Jul 20, 2005 9:01 am
Forum: C++
Topic: Multi dimensional arrays in STL?
Replies: 1
Views: 1447

Multi dimensional arrays in STL?

Hello, This probably has been asked many times before, but, I am pretty new to STL. I was wondering about the tricks you guys use to make safe multi dimensional arrays in your C++ code. I have seen a nice class that encapsulates a vector of vectors. However, in a real contest, there is no time for t...
by someone2
Tue Jul 05, 2005 7:51 pm
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 4092

Hmmm.. ok, I hate to say this, but I am officially challenging the online judge!! :lol: I found the original judge test cases used in the ACM programming contest 1989 (This problem was part of it). The file contained 5008 test cases. I tried it, compared it to the judge output, and guess what? The f...
by someone2
Tue Jul 05, 2005 5:37 pm
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 4092

problem 201 (Squares) driving me crazy with WA!

Hi, I have solved some problems before but this one is drving me crazy. Could someone who solved it give me just one counter example to this code? What is the trick in the judge's input? No matter what I try, it always gives a correct answer #include <iostream> #include <stdio.h> using namespace std...

Go to advanced search