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

October 2025

S M T W T F S
    1 23 4
5 678 9 1011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 13th, 2025 08:31 am
Powered by Dreamwidth Studios