javascript 함수-1
javascript 함수-1var scores=[60,60,40,30,20,10,61,51,41,31,21,11,62,52,42,32,22,12,63,53,43,33,23,13,64,54,44,34,24,14,65,55,45,35,65,15];var costs=[.60,.60,.40,.30,.20,.10,.61,.51,.41,.31,.21,.11,.62,.52,.42,.32,.22,.12,.63,.53,.43,.33,.23,.13,.64,.54,.44,.34,.24,.14,.65,.55,.45,.35,.65,.15];var highScore = printAndget(scores);var bestSolution=best(scores,highScore);var extt=minCost(scores,costs)..
2016. 1. 14.