Search found 7 matches

by symme7ry
Sat Sep 27, 2003 8:16 am
Forum: Volume 8 (800-899)
Topic: 848 - Fmt
Replies: 16
Views: 12165

My spaces did not appear in the post. What I wrote was


For instance:
aaa
___aaaaaaaaaaaaaaaaaa<assume 73 chars>
aaa


turns into:

aaa

aaaaaaaaaaaaaaaaaa<assume 73 chars>
aaa

..where _ means space
by symme7ry
Sat Sep 27, 2003 8:14 am
Forum: Volume 8 (800-899)
Topic: 848 - Fmt
Replies: 16
Views: 12165

I just solved this problem after much trouble. It appears that the test data for this problem is possibly wrong. The straightforward greedy method does not optimize the line lengths, but the test data seems to be based on this algorithm. To answer your question, if you have spaces and then a 73 char...
by symme7ry
Sat Sep 20, 2003 8:59 am
Forum: Volume 1 (100-199)
Topic: 117 - The Postal Worker Rings Once
Replies: 58
Views: 16596

IMO, floyd warshall is the best algorithm to use here. It's easier to type in than any of the sinle souce shortest path algorithms, and it is fast enough.
by symme7ry
Fri Sep 19, 2003 12:28 am
Forum: Other words
Topic: why aren't default space/time constraints specified?
Replies: 8
Views: 1374

why aren't default space/time constraints specified?

Shouldn't there be a link to the default time limit, stack size, and total memory size available somewhere on the main problemset page?
by symme7ry
Thu Sep 18, 2003 11:41 pm
Forum: Other words
Topic: acm.uva.es/archive submissions can't be judged?
Replies: 3
Views: 1223

acm.uva.es/archive submissions can't be judged?

Why is it that when I try to have a 2xxx problem judged via the online submitter linked to from the main acm.uva.es page, I get "can't be judged", but if I hit the little submit button by the problem on acm.uva.es/archive, my submissions are able to be judged? Is this going to be fixed soon? By the ...
by symme7ry
Mon Aug 25, 2003 11:22 pm
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 25515

Right, that works, but it is odd that my simple code above breaks their compiler.
by symme7ry
Fri Aug 22, 2003 10:28 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 25515

istringstream operation causes segfault

When submitting the code below for problem 10033, I get a SIGSEGV runtime error, which I think means a segfault. [cpp] #include <iostream> #include <cstdio> #include <sstream> #include <algorithm> #include <string> using namespace std; int main(){ int tests; string temp; istringstream iss; getline(c...

Go to advanced search