Search found 80 matches

by Quantris
Thu Aug 30, 2018 12:15 pm
Forum: Volume 2 (200-299)
Topic: 207 - PGA Tour Prize Money
Replies: 30
Views: 6435

Re: 207 - PGA Tour Prize Money

I think the uDebug code is still slightly off when it comes to printing prize amount, at least based on my reading of the statement (there's a difference between winning $0.00 and not winning anything IMHO). Which I guess means the judge data is also a bit lacking since my AC code disagrees on this ...
by Quantris
Mon Aug 27, 2018 1:17 am
Forum: Volume 127 (12700-12799)
Topic: 12734 - Guess the String
Replies: 1
Views: 811

Re: 12734 - Guess the String

It seems like the judge for this problem is broken? Can someone check it please?

Perhaps submission for this problem should be disabled until it can be fixed.
by Quantris
Tue Feb 14, 2017 4:01 am
Forum: Volume 100 (10000-10099)
Topic: 10069 - Distinct Subsequences
Replies: 26
Views: 11309

Re: 10069 - Distinct Subsequences

To clarify, the reason big int is required is because the statement is supposed to say 10^100, not 10100

Also the description of "subsequence" is cribbed directly & without credit from Intro to Algorithms, which is shameful to say the least.
by Quantris
Tue Nov 29, 2016 12:17 pm
Forum: Volume 122 (12200-12299)
Topic: 12287 - Network Flow
Replies: 1
Views: 901

Re: 12287 - Network Flow

It seems to me there's something wrong with the data for this problem. Ignoring the part about optimizing the rotation in the flow, I'm having difficulty understanding how to justify the TRA computation used to get ACC (which I just got). Consider the following cases, which all specify the same pump...
by Quantris
Thu Dec 17, 2015 5:33 am
Forum: Volume 108 (10800-10899)
Topic: 10840 - Multi-stage Compressor
Replies: 4
Views: 6511

Re: 10840 - Multi-stage Compressor

Thanks to uDebug I finally got AC on this problem. There is a discrepancy between the data and problem statement. The statement says to output p_i, but actually what works is to output p_i / p_1. In other words we want not the output pressure after stage i but the compression ratio after stage i. Th...
by Quantris
Mon Mar 18, 2013 3:01 am
Forum: Bugs and suggestions
Topic: 597 broken input
Replies: 3
Views: 1949

Re: 597 broken input

I know I can't get AC. I thought I read somewhere that red checkmarks could mean no I/O or could mean the OJ has input but not a verified output. Not that I could find anywhere that explains what the checkmarks mean (do you have a link for that?) Anyway, the judge is definitely providing non-empty i...
by Quantris
Fri Mar 15, 2013 1:39 pm
Forum: Bugs and suggestions
Topic: 511 Sample output erroneous
Replies: 0
Views: 1213

511 Sample output erroneous

It seems the issue mentioned in the forum thread:

http://acm.uva.es/board/viewtopic.php?f=6&t=42698

has not been addressed (probably it wasn't reported directly?).

Please take a look.

Thanks!
by Quantris
Fri Mar 15, 2013 1:26 pm
Forum: Bugs and suggestions
Topic: 597 broken input
Replies: 3
Views: 1949

597 broken input

I realise this problem has a red checkmark (I didn't at first since I accessed it via http://uva.onlinejudge.org/external/5/597.html directly), but it seems the input doesn't follow the specification (giving me runtime errors until I figured out the problem). I confirmed there aren't any empty lines...
by Quantris
Sun Jul 08, 2012 1:10 pm
Forum: Bugs and suggestions
Topic: 10679-I Love String!!! - Shallow judge data
Replies: 3
Views: 4663

Re: 10679-I Love String!!! - Shallow judge data

Has this been fixed? I don't want to submit to find out since it would surely overwrite my current (legitimate) ranking. I couldn't find any post by Carlos noting that this issue was addressed.
by Quantris
Thu Jun 21, 2012 7:57 am
Forum: Volume 1 (100-199)
Topic: 176 - City Navigation
Replies: 20
Views: 7769

Re: 176 - City Navigation

Hi kurtdz,

My AC program gives the following. Thanks for your cases, they helped me track down my bug(s)!

Code: Select all

213
49
129
197
164
176
1
197
198
0
1
49
100
by Quantris
Sat Mar 31, 2012 4:05 am
Forum: Bugs and suggestions
Topic: Slow judge
Replies: 0
Views: 1642

Slow judge

I haven't submitted to this judge in a while, but it seems excessively slow. Is it related to a brief downtime earlier today? Or perhaps someone ("Lee Wei") making a huge number of submissions over a short period?
by Quantris
Sat Jan 26, 2008 7:41 am
Forum: Volume 101 (10100-10199)
Topic: 10136 - Chocolate Chip Cookies
Replies: 6
Views: 4104

Careful Igor -- unless the two points are a full diameter apart, they actually determine two circles with a given radius (or none, if they are further apart than a diameter), not a unique one.
by Quantris
Tue Aug 07, 2007 7:29 am
Forum: C++
Topic: Initialize a Queue Empty
Replies: 5
Views: 2763

You could also make your queue variable local to the while loop, since that seems to be the only place you use it.
by Quantris
Sun Apr 22, 2007 12:50 am
Forum: Volume 102 (10200-10299)
Topic: 10282 - Babelfish
Replies: 48
Views: 19113

I agree. Your vm.push_back(m) in particular -- you're making a copy of the dictionary so far and pushing it into the vector...so at the end you end up with a vector with O(n^2) string pairs inside...
by Quantris
Thu Apr 19, 2007 7:39 am
Forum: Algorithms
Topic: arctan (1/u)
Replies: 2
Views: 2233

Sorry, you're not even close.... Why do you assume "k" has to be an integer? There is no reason that k^2-4uk-4 should be a perfect square, you only need it to be positive. If this is homework, have you done Lagrange multipliers? Or any calculus at all?? I can tell you that you'll probably need a der...

Go to advanced search