Search found 6 matches

by jrbustosm
Thu Dec 06, 2012 5:35 pm
Forum: Volume 125 (12500-12599)
Topic: 12575 - Sin Cos Problem
Replies: 3
Views: 1728

Re: 12575 - Sin Cos Problem

Thanks at lot, the error I had was just that you said
by jrbustosm
Wed Dec 05, 2012 11:15 pm
Forum: Volume 125 (12500-12599)
Topic: 12532 - Interval Product
Replies: 8
Views: 3432

Re: 12532 - Interval Product

I do not know if it is legal to put external links, but the file is very large:

https://raw.github.com/jrbustosm/uva-so ... duct/input

the output is:

https://raw.github.com/jrbustosm/uva-so ... uct/salida
by jrbustosm
Wed Dec 05, 2012 11:07 pm
Forum: Volume 125 (12500-12599)
Topic: 12575 - Sin Cos Problem
Replies: 3
Views: 1728

12575 - Sin Cos Problem

I am getting the wrong answer, and do not know why, could you help me?

f (x) = A * sin (x) + B * sin (x) = R * cos (x-alpha)

where,

R = sqrt (A * A + B * B) = f (x) max

alpha = atan (A / B)

f '(x) = A*cos(x) - B*sin(x) = 0

=> A*cos(x_max) - B*sin(x_max) = 0
tan(x_max) = A/B
x_max = atan(A/B ...
by jrbustosm
Wed Dec 05, 2012 11:02 pm
Forum: Volume 125 (12500-12599)
Topic: 12545 - Bits Equalizer
Replies: 4
Views: 2375

Re: 12545 - Bits Equalizer

1. swap 1 y 0 (out place)
2. swap 1 y ?
3. convert 0 in 1, ? in 0 or 1
by jrbustosm
Wed Dec 05, 2012 10:58 pm
Forum: Volume 125 (12500-12599)
Topic: 12545 - Bits Equalizer
Replies: 4
Views: 2375

Re: 12545 - Bits Equalizer

Input:


7
01??00
001010
01
10
110001
000000
101010011010?????111010101010???11010101010????1010101010?????10101010???1010101001???101010?1101001
1110010101010100100000010101010010101010100101010111111111000001011010100101000001010100101010100000 ...
by jrbustosm
Tue Oct 09, 2012 9:23 pm
Forum: Volume 101 (10100-10199)
Topic: 10167 - Birthday Cake
Replies: 16
Views: 9353

Re: 10167 - Birthday Cake

This, is a case not being considered

Code: Select all

1
0 1
0 2
0
what is the output?

Go to advanced search