Search found 21 matches

by Arm.Turbo
Mon Nov 01, 2004 3:33 pm
Forum: Volume 107 (10700-10799)
Topic: 10750 - Beautiful Points
Replies: 21
Views: 15253

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 ...
by Arm.Turbo
Wed Oct 13, 2004 4:03 pm
Forum: Volume 106 (10600-10699)
Topic: 10642 - Can You Solve It?
Replies: 10
Views: 20052

Input:

100
41 8467 6334 6500
9169 5724 1478 9358
6962 4464 5705 8145
3281 6827 9961 491
2995 1942 4827 5436
2391 4604 3902 153
292 2382 7421 8716
9718 9895 5447 1726
4771 1538 1869 9912
5667 6299 7035 9894
8703 3811 1322 333
7673 4664 5141 7711
8253 6868 5547 7644
2662 2757 37 2859
8723 9741 7529 ...
by Arm.Turbo
Wed Oct 13, 2004 3:52 pm
Forum: Volume 106 (10600-10699)
Topic: 10650 - Determinate Prime
Replies: 67
Views: 37917

Try to precalc result and find total number of such sets.
There are 162 of them.
by Arm.Turbo
Wed Oct 13, 2004 12:12 pm
Forum: Volume 107 (10700-10799)
Topic: 10703 - Free spots
Replies: 26
Views: 12205

by Arm.Turbo
Wed Oct 13, 2004 12:03 pm
Forum: Volume 107 (10700-10799)
Topic: 10703 - Free spots
Replies: 26
Views: 12205

deusparanoia wrote:i already tried that output .. but still WA :(
Try to remove System.out.println(); at the end
by Arm.Turbo
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.
by Arm.Turbo
Wed Oct 06, 2004 2:31 pm
Forum: Volume 102 (10200-10299)
Topic: 10252 - Common Permutation
Replies: 150
Views: 73282

My outputs for all tests from this board the same with AC solutions. I try to use tolower() but it's WA anyway. What's the problem?


#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>

int main ()
{
char tmp1[1024];
char tmp2[1024];
char ttmp1['z'-'a'+1];
char ttmp2 ...
by Arm.Turbo
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 ...
by Arm.Turbo
Mon Sep 27, 2004 9:36 am
Forum: Volume 4 (400-499)
Topic: 454 - Anagrams
Replies: 97
Views: 36132

Each line in test cases < 64 chars
by Arm.Turbo
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?
by Arm.Turbo
Tue Sep 14, 2004 7:52 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 60440

At last AC. Thx to all =)
by Arm.Turbo
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:

Code: Select all

1 1
2 1
3 1
4 1
5 1
1 2
2 2
3 2
4 2
5 2
My answers:

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
by Arm.Turbo
Wed Sep 08, 2004 2:33 pm
Forum: Volume 4 (400-499)
Topic: 465 - Overflow
Replies: 104
Views: 39047

Re: problem!!!

shanto86 wrote:can any one plz hlp me with this code. i am getting WA.

#include<stdio.h>

void main()
{
skip
}
You can't use long long. You have to scan data from input using strings.
by Arm.Turbo
Fri Aug 27, 2004 12:18 pm
Forum: Volume 6 (600-699)
Topic: 640 - Self Numbers
Replies: 47
Views: 25869

Thx Ryan Pai
I AC now.
by Arm.Turbo
Fri Aug 27, 2004 11:45 am
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 39225

1 have 1 divisor (after i add this case i got AC)

Go to advanced search