subject

The risk-free currency exchange problem offers a risk-free way to make money. suppose we have currencies cn. (for example, c1 might be dollars, c2 rubles, c3 yen, etc.) for every two currencies ci and cj there is an exchange rate ri, j such that you can exchange one unit of ci for ri, j units of cj . note that if ri, j ·rj, i > 1, then you can make money simply by trading units of currency i into units of currency j and back again. this almost never happens, but occasionally (because the updates for exchange rates do not happen quickly enough) for very short periods of time exchange traders can find a sequence of trades that can make risk-free money. that is, if there is a sequence of currencies ci1 , ci2 cik such that ri1,i2 ·ri2,i3 ·rik−1,ik ·rik, i1 > 1, then trading one unit of ci1 into ci2 and trading that into ci3 and so on will yield a profit. design an efficient algorithm to detect if a risk-free currency exchange exists. (you need not actually find it.)

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, brylove603
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
image
Computers and Technology, 23.06.2019 18:30, sawyerfauver
The computers in the sales department did not have enough data storage capacity to contain all the information the department needed to store, and it was taking a long time for team members to access the data they needed. to fix the problem, the technician installed new, larger hard drives on all the computers.
Answers: 1
image
Computers and Technology, 23.06.2019 19:30, bevanscory123
What are loans to a company or government for a set amount of time
Answers: 1
image
Computers and Technology, 24.06.2019 09:10, daedae11142
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
You know the right answer?
The risk-free currency exchange problem offers a risk-free way to make money. suppose we have curren...

Questions in other subjects: