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

September 2025

S M T W T F S
 1 2345 6
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 7th, 2025 01:23 am
Powered by Dreamwidth Studios