Search found 7 matches

by Marcel Hernandez
Sat Mar 26, 2011 3:38 pm
Forum: ACM ICPC Archive Board
Topic: Compilation error?
Replies: 1
Views: 4567

Re: Compilation error?

Which compiler are you using? I've copypasted your code in a file and ran g++ code.cpp -lm -lcrypt -O2 -pipe -DONLINE_JUDGE (UVA Judge's compiling options) in a Linux shell using the GNU C++ Compiler v4.4.5, and just got a couple of warnings regarding scanf() : code.cpp: In function ‘int main()’: co...
by Marcel Hernandez
Sat Oct 03, 2009 11:31 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 169341

Re: 100

I'm pretty sure that the OJ input for this problem isn't as exhaustive as it should be. Yesterday I tried to solve problem nº 14 from projecteuler.net (which asks for the positive number below 1 milion which generates the longest Collatz sequence) with my AC code of problem 100 from UVa. So I typed ...
by Marcel Hernandez
Wed Sep 23, 2009 2:11 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 29213

Re: 10815 - Andy's First Dictionary

oh hai, I've already solved the problem (scoring a pitiful run time btw) but I'm always not really sure of what to do when it comes to handle input like the one seen in this problem. This is some kind of sketch written in C++ showing my approach: string word; vector<string> dic; char symbol = getcha...
by Marcel Hernandez
Thu Jul 30, 2009 9:04 pm
Forum: General
Topic: Viewing submissions
Replies: 4
Views: 2677

Re: Viewing submissions

You can't. If you want to see your own code just keep your source files.
by Marcel Hernandez
Fri Jun 26, 2009 11:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 74263

Re: 10038 - Jolly Jumpers

I'm also getting WA despite of passing the sample input and everything I could think of (including n = 1) My code (C++): Removed after AC Edit: Ok I finally found myself a set of test cases that didn't generate a correct answer ("3 0 0 6", "4 0 0 0 10", etc. printed "Jolly") and solved the issue rew...
by Marcel Hernandez
Wed Mar 04, 2009 5:34 pm
Forum: Bugs and suggestions
Topic: My Solved Problem Runtimes have suddenly changed.
Replies: 1
Views: 3004

My Solved Problem Runtimes have suddenly changed.

Today some of my solved problem runtimes have changed (to worst) without submitting any new code. Here's a pic: http://img5.imageshack.us/img5/6356/pantallazox.png The most clear example: Problem nº 100 can be only solved in less than 3 sec, and now it says that it ran in 4.977s (before it was 0.080...
by Marcel Hernandez
Wed Mar 04, 2009 4:12 pm
Forum: Bugs and suggestions
Topic: My solved problems Runtimes have suddenly changed :S
Replies: 1
Views: 2225

My solved problems Runtimes have suddenly changed :S

Today some of my solved problem runtimes have changed (to worst) without submitting any new code. Here's a pic: http://img5.imageshack.us/img5/6356/pantallazox.png The most clear example: Problem nº 100 can be only solved in less than 3 sec, and now it says that it ran in 4.977s (before it was 0.080...

Go to advanced search