## Search found 192 matches

Mon Aug 04, 2003 6:22 am
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 33830
Larry, I would like to know how greedy solve this problem. I Think this is "Task scheduling problem", am I correct ?

Thanks.
Mon Aug 04, 2003 5:42 am
Forum: Volume 101 (10100-10199)
Topic: 10154 - Weights and Measures
Replies: 60
Views: 39816
try this

100 101
200 300
10 500
1 1000
20 30
40 40
500 901
152 199
1 2
3 40
2 1000

output:
8
Tue Jul 22, 2003 8:50 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 20631
The input is like this oriol:

[code]
input:
3

1
6
2
3
5

7
18
2
3
45
6

1
2

output:
Max hits: 4
1
2
3
5

Max hits: 3
7
18
45

Max hits: 2
1
2
[/code]

Hope it helps.

Best regards,
RS
Tue Jul 22, 2003 8:38 am
Forum: Volume 104 (10400-10499)
Topic: 10493 - Cats, with or without Hats
Replies: 13
Views: 6814
for n = 2, and m = 1.
the solution is "2 1 1" not "impossible".

Tue Jul 22, 2003 8:29 am
Forum: Volume 104 (10400-10499)
Topic: 10433 - Automorphic Numbers
Replies: 41
Views: 23015
"leading zero is significant" mean you must consider the leading zero as numbers.

Dedy the output for all your test case is "Not an Automorphic number.".

Tue Jul 22, 2003 8:15 am
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 13458
for : n= 1 we get -> 2 n = 2 we get -> 4 n = 3 we get -> 8 n = 4 we get -> 14 ... this pattern repeated 2 2 4 2 4 0 8 2 6 14 see this sequences have 2 extrapolation, so the formula is : f(n) = a*n^2 + b*n + c n = 1 -> a + b + c = 2 ...1) n = 2 -> 4a + 2b + c = 4 ...2) n = 3 -> 9a + 3b + c = 8 ...3) ...
Tue Jul 22, 2003 7:53 am
Forum: Volume 100 (10000-10099)
Topic: 10022 - Delta-wave
Replies: 5
Views: 2143

another test case:
input:
2

1 1
2 1
100 3
40 5
299143 193914510
9 1023

56601 99
401 3001
9 1
1000 1000
1000 1001
3123 4412
30040103 10204392
48582994 99499

output:
0
2
17
7
26758
57

456
84
4
0
1
64
6947
13310

hope this helps.
Mon Jul 21, 2003 7:48 am
Forum: Volume 7 (700-799)
Topic: 787 - Maximum Sub-sequence Product
Replies: 39
Views: 18913
does anyone know what input can cause TLE ?
Mon Jul 21, 2003 6:28 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 20631
The multiple input problems have the blue sign in index page. The first line of a multiple input file is an integer N, then a blank line followed by N input blocks. Each input block is in the format indicated in the problem description. There is a blank line between input blocks. The output format i...
Fri Jul 18, 2003 4:08 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 20631
This is multiple input problem. Have you take care that ?
Mon Jul 14, 2003 7:21 am
Forum: Volume 104 (10400-10499)
Topic: 10484 - Divisibility of Factors
Replies: 39
Views: 18397
Becarefull D can be negative value, and don't forget use long long.

As I know there are no tricky input here.
If you still can't get AC, send me your code I'll try to help.

Fri Jul 11, 2003 9:18 am
Forum: Volume 105 (10500-10599)
Topic: 10521 - Continuously Growing Fractions
Replies: 17
Views: 6156
What's The limit for P ? and Q ?
Fri Jul 11, 2003 8:23 am
Forum: Volume 104 (10400-10499)
Topic: 10431 - Normal Distribution
Replies: 13
Views: 3321
huuuu.....
I always got WA, on this problem.

I use double for calculation. Is there any tricky input...

Fri Jul 11, 2003 7:56 am
Forum: Volume 100 (10000-10099)
Replies: 20
Views: 7999
I still don't understand ... Can anyone help ... ?
Mon Jun 30, 2003 6:34 am
Forum: Volume 7 (700-799)
Topic: 787 - Maximum Sub-sequence Product
Replies: 39
Views: 18913

### 787-TLE after rejudge

Hi, after rejudged why I got TLE ?
can anyone tell me what's they change ?

Thanks,
RS