Petya wants to organize programming contest in his institute and he has to pass some consecutive bureaucratic procedures.
At each step Petya get or pay some money.
He may pay 100 coins to skip next bureaucratic procedures or 200 coins to skip next two procedures or k*100 coins to skip next k ...
Search found 12 matches
- Tue May 10, 2005 1:48 pm
- Forum: Algorithms
- Topic: Help to solve this problem !
- Replies: 0
- Views: 966
- Thu Mar 24, 2005 9:09 pm
- Forum: Algorithms
- Topic: Intervals
- Replies: 8
- Views: 2454
- Wed Mar 23, 2005 11:37 pm
- Forum: Algorithms
- Topic: Intervals
- Replies: 8
- Views: 2454
- Wed Mar 23, 2005 11:34 pm
- Forum: Algorithms
- Topic: Intervals
- Replies: 8
- Views: 2454
- Wed Mar 23, 2005 11:29 pm
- Forum: Algorithms
- Topic: Common tangent to two circles
- Replies: 3
- Views: 1829
- Wed Mar 23, 2005 11:20 pm
- Forum: Algorithms
- Topic: Intervals
- Replies: 8
- Views: 2454
- Mon Mar 21, 2005 10:56 pm
- Forum: Algorithms
- Topic: Common tangent to two circles
- Replies: 3
- Views: 1829
Common tangent to two circles
Help 
How to find common tangent to two circles?

How to find common tangent to two circles?
- Fri Mar 18, 2005 1:09 pm
- Forum: Algorithms
- Topic: Intervals
- Replies: 8
- Views: 2454
Intervals
Hi all !
Can somebody tell me how to solve this problem?
There are N intervals (ai, bi). ai and bi are integers not exceeding 2'000'000'000 by their absolute value.
Your task is to find the number of ways we could choose a maximal subset of disjoint intervals.
1 ≤ N ≤ 100000
Can somebody tell me how to solve this problem?
There are N intervals (ai, bi). ai and bi are integers not exceeding 2'000'000'000 by their absolute value.
Your task is to find the number of ways we could choose a maximal subset of disjoint intervals.
1 ≤ N ≤ 100000
- Mon Feb 14, 2005 10:42 pm
- Forum: Algorithms
- Topic: One problem..
- Replies: 0
- Views: 926
One problem..
How to solve this problem ?
Given a1, b1, c1
0<= a1, b1, c1 < 2^24
How to find such a, b, c that
a1 = (b * c) xor a
b1 = (a * c) xor b
c1 = (a * b) xor c
all operations are done mod 2^24
Given a1, b1, c1
0<= a1, b1, c1 < 2^24
How to find such a, b, c that
a1 = (b * c) xor a
b1 = (a * c) xor b
c1 = (a * b) xor c
all operations are done mod 2^24
- Sun Feb 06, 2005 11:46 pm
- Forum: Algorithms
- Topic: max flow or max matching
- Replies: 6
- Views: 6367
- Sun Feb 06, 2005 4:05 pm
- Forum: Algorithms
- Topic: max flow or max matching
- Replies: 6
- Views: 6367
max flow or max matching
please tell me some uva problems with max flow or max matching application to train my skill 

- Tue Jan 18, 2005 10:48 pm
- Forum: Algorithms
- Topic: How to find permutation root?
- Replies: 1
- Views: 1838