|
|
back to boardWhen n = 3 and k = 2, the output should be 4 because for the first 2 steaks, it would take 2 minutes (1 + 1 for both the sides) and for the remaining 1 steak again 2 minutes (1 + 1 for both the sides) then 2 + 2 = 4. That's what I think the output should be. So, what's wrong here, can somebody answer please? minute 1: side 1 steak 1 and side 1 steak 2 minute 2: side 2 steak 1 and side 1 steak 3 (steak 1 is finished) minute 3: side 2 steak 2 and side 2 steak 3 (steak 2 and 3 are finished) Oh, now I see. Thanks for explanation. very thanks! good explain! Edited by author 29.09.2012 12:20 Thanks a lot! nice explaination!!!! thanks a lot Edited by author 11.04.2013 14:42 Thanks very much. really very good explanation... Case it's 3 you stupid fuck!!! Thanks. Boys acm.timus.ru this cool! |
|
|