We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- NP Complete
- TBS Problem
- Discussions
TBS Problem
TBS Problem
Sort by
recency
|
17 Discussions
|
Please Login in order to post a comment
I have a solution with a profit of 76,01 for test case 0 but the profit of the expected output { "1 1 6", "2 2", "7 2", "7 3", "10 7", "9 8", "0 0", "0 8 4", "1 9", "5 15", "8 18", "0 0" } is negative: -89.35. Can someone explain why is that an expected output ? (with last line return to HQ which is clearly a loss). Here is the test case input: N= 10, BLIMP_COST_PER_MILE = 3; PRICE_DECLINE = 0.95; final int[][] c = { {1, 1, 30}, {2, 2, 35}, {0, 8, 50}, {7, 2, 20}, {7, 3, 25}, {10, 7, 90}, {9, 8, 35}, {5, 15, 10}, {8, 18, 15}, {1, 9, 60} };
I am waiting for a response in this problem's Editorial. Can anyone post an editorial to get some hint to solve this problem?
Is there anything wrong with the test case 0?
I submitted and got success for test case 1, 2, 3, 4, 5 but not 0
how to solve TBS problem
Does anyone know any good resources for learning how to solve this problem? I don't know now, but would like to learn.