Sort by

recency

|

17 Discussions

|

  • + 1 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} };

  • + 0 comments

    I am waiting for a response in this problem's Editorial. Can anyone post an editorial to get some hint to solve this problem?

  • + 0 comments

    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

  • + 1 comment

    how to solve TBS problem

  • + 0 comments

    Does anyone know any good resources for learning how to solve this problem? I don't know now, but would like to learn.