Believe it or not... the method I used got AC.
.. and my program was completly wrong.
My program produces the wrong output for the case rootZOOM mentioned.
Here goes the correct algo: ( hopefully )
sort all the points wrt x first then y.
then for each point P check all the points to its left ...
Search found 21 matches
- Mon Nov 01, 2004 3:33 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10750 - Beautiful Points
- Replies: 21
- Views: 15253
- Wed Oct 13, 2004 4:03 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10642 - Can You Solve It?
- Replies: 10
- Views: 20052
- Wed Oct 13, 2004 3:52 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10650 - Determinate Prime
- Replies: 67
- Views: 37917
- Wed Oct 13, 2004 12:12 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10703 - Free spots
- Replies: 26
- Views: 12205
Look here mb this will help:
http://online-judge.uva.es/board/viewtopic.php?t=6385
http://online-judge.uva.es/board/viewtopic.php?t=6385
- Wed Oct 13, 2004 12:03 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10703 - Free spots
- Replies: 26
- Views: 12205
- Wed Oct 13, 2004 11:21 am
- Forum: Volume 107 (10700-10799)
- Topic: 10703 - Free spots
- Replies: 26
- Views: 12205
Code: Select all
There is no empty spots.
There is one empty spot.
There are 83470 empty spots.
There are 76893 empty spots.
There are 81286 empty spots.
There are 9532 empty spots.
- Wed Oct 06, 2004 2:31 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10252 - Common Permutation
- Replies: 150
- Views: 73282
- Thu Sep 30, 2004 9:39 am
- Forum: Other words
- Topic: Admins: ID error
- Replies: 5
- Views: 2712
The same for me =(
I was 46169__ with 283 solved problems
now I 46168__ with 1 ....
sufix stay the same.
I thought that my acc was stolen and i try to recover password.
Password that password@acm.uva.es send to me now not working ...
I was 46169__ with 283 solved problems
now I 46168__ with 1 ....
sufix stay the same.
I thought that my acc was stolen and i try to recover password.
Password that password@acm.uva.es send to me now not working ...
- Mon Sep 27, 2004 9:36 am
- Forum: Volume 4 (400-499)
- Topic: 454 - Anagrams
- Replies: 97
- Views: 36132
- Wed Sep 22, 2004 10:46 am
- Forum: Volume 107 (10700-10799)
- Topic: 10726 - Coco Monkey
- Replies: 9
- Views: 5914
10726 - Coco Monkey
I AC for this problem but my algorithm is slow. In ranklist for this problem i saw results 0.000 seconds. Is there exist analitical solution? I.e. simple equation?
- Tue Sep 14, 2004 7:52 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60440
- Fri Sep 10, 2004 7:13 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60440
I pass all tested that given in that topic. Pls give the correct output for this testcases:
My answers:
Code: Select all
1 1
2 1
3 1
4 1
5 1
1 2
2 2
3 2
4 2
5 2
Code: Select all
1 1: 1
2 1: 1 2
3 1: 2
4 1: 2
5 1: 2 3
1 2: 1 2
2 2: 1 2
3 2: 1 2 3
4 2: 1 2 3
5 2: 1 2 3 5
- Wed Sep 08, 2004 2:33 pm
- Forum: Volume 4 (400-499)
- Topic: 465 - Overflow
- Replies: 104
- Views: 39047
Re: problem!!!
You can't use long long. You have to scan data from input using strings.shanto86 wrote:can any one plz hlp me with this code. i am getting WA.
#include<stdio.h>
void main()
{
skip
}
- Fri Aug 27, 2004 12:18 pm
- Forum: Volume 6 (600-699)
- Topic: 640 - Self Numbers
- Replies: 47
- Views: 25869
- Fri Aug 27, 2004 11:45 am
- Forum: Volume 2 (200-299)
- Topic: 294 - Divisors
- Replies: 91
- Views: 39225