## Search found 281 matches

Mon Jan 30, 2012 11:03 pm
Forum: Volume 117 (11700-11799)
Topic: 11762 - Race to 1
Replies: 10
Views: 4041

### Re: 11762 - Race to 1

Thanks, Sohel.
Mon Jan 30, 2012 10:01 am
Forum: Volume 117 (11700-11799)
Topic: 11762 - Race to 1
Replies: 10
Views: 4041

### Re: 11762 - Race to 1

And he calls this D. What is "this"? I don't understand the difference between N and D in the problem statement. The author describes a process to get D to 1 and then asks how long it will take for N to get to 1, but there is nothing in the problem statement that describes how N changes. I'm confus...
Sun Jan 29, 2012 10:49 am
Forum: Volume 117 (11700-11799)
Topic: 11701 - Cantor
Replies: 2
Views: 1425

### Re: 11701 - Cantor

Got it. Thanks, brianfry713. The Cantor set is cooler than I thought.
Sun Jan 22, 2012 11:17 am
Forum: Volume 117 (11700-11799)
Topic: 11701 - Cantor
Replies: 2
Views: 1425

### 11701 - Cantor

What am I missing here? The only members of the Cantor set that can be represented as a finite decimal fraction are 0 and 1. Everything else should be a "NON-MEMBER". It's true that I've just finished a bottle of wine by myself while solving this problem, but the logic above should still be sound, n...
Sun Mar 13, 2011 11:46 pm
Forum: Volume 109 (10900-10999)
Topic: 10984 - Double NP-hard
Replies: 32
Views: 10083

### Re: 10984 - Double NP-hard

You are welcome. I'm glad you liked it.
Wed Nov 04, 2009 10:24 pm
Forum: FAQ
Topic: Cant enter "http://uva.onlinejudge.org/index.php"
Replies: 2
Views: 6467

### Re: Cant enter "http://uva.onlinejudge.org/index.php"

Yep. Same error here, independent of the browser. It is a bug on the website.
Sat Apr 25, 2009 6:48 am
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9530

### Re: 169 - Xenosemantics

In the sample input case #1, why isn't "is" a word? It appears twice: as "disd" and as "psip". Both occurrences are overlapped by other words: "disd" is overlapped by "tdisdort", and "psip" is overlapped by "ozgpsipkelao". I think the sample output should be dyj is ortj lnsvkoalexot * * What am I un...
Sat Apr 25, 2009 6:08 am
Forum: Volume 1 (100-199)
Topic: 158 - Calendar
Replies: 44
Views: 6936

### Re: 158... poor wording?

Oh garbage! Print the numbers after "Today is:" in fields of width 2 as well. After 5 years, I finally got rid of the Presentation Error and got AC.
Mon Nov 24, 2008 7:18 pm
Forum: Volume 114 (11400-11499)
Topic: 11412 - Dig the Holes
Replies: 3
Views: 2942

### Re: 11412 - Dig the Holes

Vytenis wrote:Maybe, you missed the fact that all four coins that you have to guess are of distinct colors?
Yep, that was it. Thanks.
Mon Nov 24, 2008 2:37 am
Forum: Volume 114 (11400-11499)
Topic: 11412 - Dig the Holes
Replies: 3
Views: 2942

### 11412 - Dig the Holes

Could somebody who got this problem please explain the precise rules for computing n1 and n2? I used Mastermind rules, and I'm getting WA. Thanks.
Tue Nov 18, 2008 7:03 pm
Forum: Volume 114 (11400-11499)
Topic: 11415 - Count the Factorials
Replies: 11
Views: 4921

### Re: 11415 - Count the Factorials

Thanks, helloneo.
I'm confused though. Does anyone understand what the problem statement means by "1 is a prime". When do we count 1? How many times do we count 1?

Edit: Nevermind. I'm dumb. Fixed.
Tue Nov 18, 2008 11:34 am
Forum: Volume 114 (11400-11499)
Topic: 11415 - Count the Factorials
Replies: 11
Views: 4921

### Re: 11415 - Count the Factorials

What is the answer for n = 10000000? My WA program prints 3203899.
Wed Nov 12, 2008 6:29 am
Forum: Volume 115 (11500-11599)
Topic: 11549 - Calculator Conundrum
Replies: 10
Views: 7450

### Re: 11549 - CALCULATOR CONUNDRUM

Code: Select all

``set<int> seen;``
You could also set up a huge bit vector to make updates O(1), as long as you only use one bit per number, but it wasn't necessary.
Tue Nov 11, 2008 11:03 pm
Forum: Volume 115 (11500-11599)
Topic: 11549 - Calculator Conundrum
Replies: 10
Views: 7450