Sep. 23rd, 2008

juan_gandhi: (Default)
In a tournament with 128 slots only 97 participants showed up. What is the minimum number of games to play to determine the single winner?

(and how to rephrase this question so that anybody would give an immediate answer?)
juan_gandhi: (Default)

public class N extends AbstractSet<Integer> {
  public Iterator iterator() {
    return new Iterator() {
      int n = 0;
      public boolean hasNext() {
        return true;
      }

      public Integer next() {
        return n++;
      }

      public void remove() {
        throw new UnsupportedOperationException();
      }
    };
  }

  public int size() {
    return Integer.MAX_VALUE;
  }
}
juan_gandhi: (Default)
(warning: this is an image)
juan_gandhi: (Default)
I solemnly swear never again to start developing any international or multilingual software, unless I get a 90% downpayment.

Jumper

Sep. 23rd, 2008 11:27 pm
juan_gandhi: (Default)
Кино такое. Кто любит новую фантастику. Кто молод душой (кто глуп и наивен). Философское кино для подростков.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

June 2025

S M T W T F S
1 2345 6 7
8 9 10 11 121314
15161718 1920 21
222324252627 28
29 30     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 02:51 am
Powered by Dreamwidth Studios
OSZAR »