Search found 6 matches

by jeffrey
Sat Nov 25, 2006 11:09 pm
Forum: Bugs and suggestions
Topic: where are the details of runtime errors?
Replies: 1
Views: 1769

where are the details of runtime errors?

In the "How to understand the Online Judge answers" how-to it says

Crash - Runtime Error (RE): Your program failed during the execution (segmentation fault, floating point exception...). The exact cause is reported to the user.

My code for challenge 101 compiles and runs fine with the following ...
by jeffrey
Thu Nov 23, 2006 7:06 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108876

the howto says
Crash - Runtime Error (RE): Your program failed during the execution (segmentation fault, floating point exception...). The exact cause is reported to the user.
But where is it reported? I got no email and my status page doesn't say anything that I can see.
by jeffrey
Thu Nov 23, 2006 6:44 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108876

101... runtime error on the server but not locally using gcc

I'm running gcc 4.0.1. I've also tried gcc 3.4.2. Running in a cygwin or mac os x environment, I do

c++ -o 101 101.cpp

cat input | ./101

This gives me the desired result. However, upon submitting the source to the judge I always get a runtime error. I've tried copying the text to the submission ...
by jeffrey
Wed Nov 22, 2006 11:25 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108876

for the 24-block example input you gave, I got

0: 0
1: 1 23
2:
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9 21 22
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15 2
16: 16
17: 17
18: 18
19: 19
20: 20
21:
22: 22
23:

The submission server is down so I don't know if my program is correct, but does that output match ...
by jeffrey
Wed Nov 22, 2006 4:03 am
Forum: Bugs and suggestions
Topic: additional language support?
Replies: 1
Views: 1942

additional language support?

I'm curious what the authors think of adding additional language support to this website? I love the idea of this website and I want to begin trying some of the puzzles. I'm willing to do them in c++, but my language of choice is objective caml. Ocaml is one of the functional programming languages ...

Go to advanced search