Announcements (Search)


by hansonw1 on Dec 30, 2008 - 3:59:41 pm UTC
  • (1/3)
Accidentally deleted some (recent) saved source files :(
This affects the last week or so of submissions (last backup)
Hopefully there was nothing important in there... I apologize for any inconvenience.


by hansonw1 on Dec 22, 2008 - 3:40:56 pm UTC
  • (3/0)
To circumvent hard-coding attempts (e.g. CCC Stage 2 Snowflakes, Mobile) I implemented a batching system.
Certain test cases will be grouped together to form a 'super test-case'.
You'll only get points if ALL of the sub-testcases in a group are correct.

Frivolous posting

by bbi5291 on Dec 14, 2008 - 1:20:11 am UTC
  • (6/0)
OK seriously guys, this spamming is ridiculous. You are abusing this discussion board. You want to talk about things like this, do it over MSN. From now on I will be deleting posts that are essentially without value.

g++ Compile Errors

by hansonw1 on Dec 11, 2008 - 3:37:35 am UTC
  • (2/0)
Some tips about strange compile errors:
  • Weird stuff about iterators, templates, etc: this means one of your variables is using the name of a function
    (like min, count, fill) These functions are included by default in <iostream> in g++. (not in VC++)
  • Usually the name of the variable will be mentioned in the error.
  • math.h library errors (pow, sqrt) - For some reason g++ doesn't like it when you take the pow or sqrt with mixed types. (float, double or int, float for example)
  • To fix this, make everything a double. (e.g. use pow(double(x), 2.0) instead of pow(x,2) if you're getting this error.)
  • Try to avoid this: for (int i=0; i<N; i++) { code }. In g++, i goes out of scope after the for loop ends, whereas in VC++ it persists. This usually gives errors like "obsolete binding...".
Pay attention to the line numbers! especially "instantiated from".
If I've missed anything, please add to this post.

Reply system

by hansonw1 on Nov 30, 2008 - 10:30:38 pm UTC
  • (2/0)
It's been tweaked a little, but unfortunately old replies have been broken. Oh well.
You no longer have to start the post with "Re: Re: Re: ...." smile.gif


by hansonw1 on Nov 24, 2008 - 3:30:37 am UTC
  • (2/0)
I've updated the time accuracy to be closer to "real" time.
In most cases you won't see a difference.
TLE programs will not become AC, or vice versa.

150 point limit on CCC 3/5 pointers

by bbi5291 on Nov 23, 2008 - 4:10:26 pm UTC
  • (2/0)
A small bug made it impossible to submit any CCC problem after your 3/5 pointer limit of 150 points had been reached. This is now fixed.

Some Emoticons

by hansonw1 on Nov 19, 2008 - 12:48:03 am UTC
  • (8/0)
Encase certain keywords between a pair of :: to make an emoticon.

e.g. smile = ": smile :" (without quotes or spaces)

angel = angel.gif
applause = applause.gif
ashamed = ashamed.gif
biggrin = biggrin.gif
confused = confused.gif
cool = cool.gif
eh = eh.gif
fear = fear.gif
impressed = impressed.gif
kidding = kidding.gif
mad = mad.gif
naughty = naughty.gif
neutral = neutral.gif
rolleyes = rolleyes.gif
sad = sad.gif
sick = sick.gif
silenced = silenced.gif
smile = smile.gif
think = think.gif
tongue = tongue.gif
twisted = twisted.gif
whistle = whistle.gif
wink = wink.gif

10000th submission!

by hansonw1 on Nov 18, 2008 - 1:10:00 am UTC
  • (4/1)
GJ Bryan :D
(unfortunately you don't win a prize)


by hansonw1 on Nov 16, 2008 - 2:56:28 am UTC
  • (2/0)
There are still a bunch of Woburn Challenge and CCC Stage 2 problems to add. These will be posted eventually....
(it's really tedious getting test data - if you can find it)