3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hotels = [ ['Cala', 3, 8.7, 6000], ['Ocean', 3, 8.2, 6150], ['Orchid', 3, 8.0, 7200], ['Ya', 4, 8.3, 6950], ['Chaba', 3, 8.2, 7120], ]; $top = [ 'Cala', 'Ocean', ]; for ( $i=0; $i<count($hotels); $i++ ) { $hotels[$i][4] = 0; } $starCoefOptions = range(0.02, 3, 0.02); $ratingCoefOptions = range(10, 10000, 10); foreach ( $starCoefOptions as $starCoef ) { foreach ( $ratingCoefOptions as $ratingCoef ) { $topGenerated = buildTop($hotels, $starCoef, $ratingCoef); $topGenerated = array_slice($topGenerated, 0, count($top)); if ( $topGenerated === $top ) { echo '$starCoef = '.$starCoef."\r\n"; echo '$ratingCoef = '.$ratingCoef."\r\n"; echo "\r\n"; } } } function buildTop($hotels, $starCoef, $ratingCoef) { for ( $i=0; $i<count($hotels); $i++ ) { for ( $j=$i+1; $j<count($hotels); $j++ ) { $starDifference = $hotels[$i][1]-$hotels[$j][1]; $ratingToCompensate = $starDifference*$starCoef; $rating = $hotels[$i][2]+$ratingToCompensate; $ratingDifference = ($rating-$hotels[$j][2])*10; $priceToCompensate = $ratingDifference*$ratingCoef; $price = round($hotels[$i][3]-$priceToCompensate); if ( $price < $hotels[$j][3] ) { $hotels[$i][4]++; } else { $hotels[$j][4]++; } } } usort($hotels, function($hotelA, $hotelB){ return $hotelB[4]-$hotelA[4]; }); return array_map(function($hotel){ return $hotel[0]; }, $hotels); }
Output for 7.0.20 - 7.3.0rc4
$starCoef = 0.02 $ratingCoef = 10 $starCoef = 0.02 $ratingCoef = 20 $starCoef = 0.02 $ratingCoef = 30 $starCoef = 0.02 $ratingCoef = 40 $starCoef = 0.02 $ratingCoef = 50 $starCoef = 0.02 $ratingCoef = 60 $starCoef = 0.02 $ratingCoef = 70 $starCoef = 0.02 $ratingCoef = 80 $starCoef = 0.02 $ratingCoef = 90 $starCoef = 0.02 $ratingCoef = 100 $starCoef = 0.02 $ratingCoef = 110 $starCoef = 0.02 $ratingCoef = 120 $starCoef = 0.02 $ratingCoef = 130 $starCoef = 0.02 $ratingCoef = 140 $starCoef = 0.02 $ratingCoef = 150 $starCoef = 0.02 $ratingCoef = 160 $starCoef = 0.02 $ratingCoef = 170 $starCoef = 0.02 $ratingCoef = 180 $starCoef = 0.02 $ratingCoef = 190 $starCoef = 0.02 $ratingCoef = 200 $starCoef = 0.02 $ratingCoef = 210 $starCoef = 0.02 $ratingCoef = 220 $starCoef = 0.02 $ratingCoef = 230 $starCoef = 0.02 $ratingCoef = 240 $starCoef = 0.02 $ratingCoef = 250 $starCoef = 0.02 $ratingCoef = 260 $starCoef = 0.02 $ratingCoef = 270 $starCoef = 0.02 $ratingCoef = 280 $starCoef = 0.02 $ratingCoef = 290 $starCoef = 0.02 $ratingCoef = 300 $starCoef = 0.02 $ratingCoef = 310 $starCoef = 0.02 $ratingCoef = 320 $starCoef = 0.02 $ratingCoef = 330 $starCoef = 0.02 $ratingCoef = 340 $starCoef = 0.02 $ratingCoef = 350 $starCoef = 0.02 $ratingCoef = 360 $starCoef = 0.02 $ratingCoef = 370 $starCoef = 0.02 $ratingCoef = 380 $starCoef = 0.02 $ratingCoef = 390 $starCoef = 0.02 $ratingCoef = 400 $starCoef = 0.02 $ratingCoef = 410 $starCoef = 0.02 $ratingCoef = 420 $starCoef = 0.02 $ratingCoef = 430 $starCoef = 0.02 $ratingCoef = 440 $starCoef = 0.02 $ratingCoef = 450 $starCoef = 0.02 $ratingCoef = 460 $starCoef = 0.02 $ratingCoef = 470 $starCoef = 0.02 $ratingCoef = 480 $starCoef = 0.02 $ratingCoef = 490 $starCoef = 0.02 $ratingCoef = 500 $starCoef = 0.02 $ratingCoef = 510 $starCoef = 0.02 $ratingCoef = 520 $starCoef = 0.02 $ratingCoef = 530 $starCoef = 0.02 $ratingCoef = 540 $starCoef = 0.02 $ratingCoef = 550 $starCoef = 0.02 $ratingCoef = 560 $starCoef = 0.02 $ratingCoef = 570 $starCoef = 0.02 $ratingCoef = 580 $starCoef = 0.02 $ratingCoef = 590 $starCoef = 0.02 $ratingCoef = 600 $starCoef = 0.02 $ratingCoef = 610 $starCoef = 0.02 $ratingCoef = 620 $starCoef = 0.02 $ratingCoef = 630 $starCoef = 0.02 $ratingCoef = 640 $starCoef = 0.02 $ratingCoef = 650 $starCoef = 0.02 $ratingCoef = 660 $starCoef = 0.04 $ratingCoef = 10 $starCoef = 0.04 $ratingCoef = 20 $starCoef = 0.04 $ratingCoef = 30 $starCoef = 0.04 $ratingCoef = 40 $starCoef = 0.04 $ratingCoef = 50 $starCoef = 0.04 $ratingCoef = 60 $starCoef = 0.04 $ratingCoef = 70 $starCoef = 0.04 $ratingCoef = 80 $starCoef = 0.04 $ratingCoef = 90 $starCoef = 0.04 $ratingCoef = 100 $starCoef = 0.04 $ratingCoef = 110 $starCoef = 0.04 $ratingCoef = 120 $starCoef = 0.04 $ratingCoef = 130 $starCoef = 0.04 $ratingCoef = 140 $starCoef = 0.04 $ratingCoef = 150 $starCoef = 0.04 $ratingCoef = 160 $starCoef = 0.04 $ratingCoef = 170 $starCoef = 0.04 $ratingCoef = 180 $starCoef = 0.04 $ratingCoef = 190 $starCoef = 0.04 $ratingCoef = 200 $starCoef = 0.04 $ratingCoef = 210 $starCoef = 0.04 $ratingCoef = 220 $starCoef = 0.04 $ratingCoef = 230 $starCoef = 0.04 $ratingCoef = 240 $starCoef = 0.04 $ratingCoef = 250 $starCoef = 0.04 $ratingCoef = 260 $starCoef = 0.04 $ratingCoef = 270 $starCoef = 0.04 $ratingCoef = 280 $starCoef = 0.04 $ratingCoef = 290 $starCoef = 0.04 $ratingCoef = 300 $starCoef = 0.04 $ratingCoef = 310 $starCoef = 0.04 $ratingCoef = 320 $starCoef = 0.04 $ratingCoef = 330 $starCoef = 0.04 $ratingCoef = 340 $starCoef = 0.04 $ratingCoef = 350 $starCoef = 0.04 $ratingCoef = 360 $starCoef = 0.04 $ratingCoef = 370 $starCoef = 0.04 $ratingCoef = 380 $starCoef = 0.04 $ratingCoef = 390 $starCoef = 0.04 $ratingCoef = 400 $starCoef = 0.04 $ratingCoef = 410 $starCoef = 0.04 $ratingCoef = 420 $starCoef = 0.04 $ratingCoef = 430 $starCoef = 0.04 $ratingCoef = 440 $starCoef = 0.04 $ratingCoef = 450 $starCoef = 0.04 $ratingCoef = 460 $starCoef = 0.04 $ratingCoef = 470 $starCoef = 0.04 $ratingCoef = 480 $starCoef = 0.04 $ratingCoef = 490 $starCoef = 0.04 $ratingCoef = 500 $starCoef = 0.04 $ratingCoef = 510 $starCoef = 0.04 $ratingCoef = 520 $starCoef = 0.04 $ratingCoef = 530 $starCoef = 0.04 $ratingCoef = 540 $starCoef = 0.04 $ratingCoef = 550 $starCoef = 0.04 $ratingCoef = 560 $starCoef = 0.04 $ratingCoef = 570 $starCoef = 0.06 $ratingCoef = 10 $starCoef = 0.06 $ratingCoef = 20 $starCoef = 0.06 $ratingCoef = 30 $starCoef = 0.06 $ratingCoef = 40 $starCoef = 0.06 $ratingCoef = 50 $starCoef = 0.06 $ratingCoef = 60 $starCoef = 0.06 $ratingCoef = 70 $starCoef = 0.06 $ratingCoef = 80 $starCoef = 0.06 $ratingCoef = 90 $starCoef = 0.06 $ratingCoef = 100 $starCoef = 0.06 $ratingCoef = 110 $starCoef = 0.06 $ratingCoef = 120 $starCoef = 0.06 $ratingCoef = 130 $starCoef = 0.06 $ratingCoef = 140 $starCoef = 0.06 $ratingCoef = 150 $starCoef = 0.06 $ratingCoef = 160 $starCoef = 0.06 $ratingCoef = 170 $starCoef = 0.06 $ratingCoef = 180 $starCoef = 0.06 $ratingCoef = 190 $starCoef = 0.06 $ratingCoef = 200 $starCoef = 0.06 $ratingCoef = 210 $starCoef = 0.06 $ratingCoef = 220 $starCoef = 0.06 $ratingCoef = 230 $starCoef = 0.06 $ratingCoef = 240 $starCoef = 0.06 $ratingCoef = 250 $starCoef = 0.06 $ratingCoef = 260 $starCoef = 0.06 $ratingCoef = 270 $starCoef = 0.06 $ratingCoef = 280 $starCoef = 0.06 $ratingCoef = 290 $starCoef = 0.06 $ratingCoef = 300 $starCoef = 0.06 $ratingCoef = 310 $starCoef = 0.06 $ratingCoef = 320 $starCoef = 0.06 $ratingCoef = 330 $starCoef = 0.06 $ratingCoef = 340 $starCoef = 0.06 $ratingCoef = 350 $starCoef = 0.06 $ratingCoef = 360 $starCoef = 0.06 $ratingCoef = 370 $starCoef = 0.06 $ratingCoef = 380 $starCoef = 0.06 $ratingCoef = 390 $starCoef = 0.06 $ratingCoef = 400 $starCoef = 0.06 $ratingCoef = 410 $starCoef = 0.06 $ratingCoef = 420 $starCoef = 0.06 $ratingCoef = 430 $starCoef = 0.06 $ratingCoef = 440 $starCoef = 0.06 $ratingCoef = 450 $starCoef = 0.06 $ratingCoef = 460 $starCoef = 0.06 $ratingCoef = 470 $starCoef = 0.06 $ratingCoef = 480 $starCoef = 0.06 $ratingCoef = 490 $starCoef = 0.08 $ratingCoef = 10 $starCoef = 0.08 $ratingCoef = 20 $starCoef = 0.08 $ratingCoef = 30 $starCoef = 0.08 $ratingCoef = 40 $starCoef = 0.08 $ratingCoef = 50 $starCoef = 0.08 $ratingCoef = 60 $starCoef = 0.08 $ratingCoef = 70 $starCoef = 0.08 $ratingCoef = 80 $starCoef = 0.08 $ratingCoef = 90 $starCoef = 0.08 $ratingCoef = 100 $starCoef = 0.08 $ratingCoef = 110 $starCoef = 0.08 $ratingCoef = 120 $starCoef = 0.08 $ratingCoef = 130 $starCoef = 0.08 $ratingCoef = 140 $starCoef = 0.08 $ratingCoef = 150 $starCoef = 0.08 $ratingCoef = 160 $starCoef = 0.08 $ratingCoef = 170 $starCoef = 0.08 $ratingCoef = 180 $starCoef = 0.08 $ratingCoef = 190 $starCoef = 0.08 $ratingCoef = 200 $starCoef = 0.08 $ratingCoef = 210 $starCoef = 0.08 $ratingCoef = 220 $starCoef = 0.08 $ratingCoef = 230 $starCoef = 0.08 $ratingCoef = 240 $starCoef = 0.08 $ratingCoef = 250 $starCoef = 0.08 $ratingCoef = 260 $starCoef = 0.08 $ratingCoef = 270 $starCoef = 0.08 $ratingCoef = 280 $starCoef = 0.08 $ratingCoef = 290 $starCoef = 0.08 $ratingCoef = 300 $starCoef = 0.08 $ratingCoef = 310 $starCoef = 0.08 $ratingCoef = 320 $starCoef = 0.08 $ratingCoef = 330 $starCoef = 0.08 $ratingCoef = 340 $starCoef = 0.08 $ratingCoef = 350 $starCoef = 0.08 $ratingCoef = 360 $starCoef = 0.08 $ratingCoef = 370 $starCoef = 0.08 $ratingCoef = 380 $starCoef = 0.08 $ratingCoef = 390 $starCoef = 0.08 $ratingCoef = 400 $starCoef = 0.08 $ratingCoef = 410 $starCoef = 0.08 $ratingCoef = 420 $starCoef = 0.08 $ratingCoef = 430 $starCoef = 0.08 $ratingCoef = 440 $starCoef = 0.1 $ratingCoef = 10 $starCoef = 0.1 $ratingCoef = 20 $starCoef = 0.1 $ratingCoef = 30 $starCoef = 0.1 $ratingCoef = 40 $starCoef = 0.1 $ratingCoef = 50 $starCoef = 0.1 $ratingCoef = 60 $starCoef = 0.1 $ratingCoef = 70 $starCoef = 0.1 $ratingCoef = 80 $starCoef = 0.1 $ratingCoef = 90 $starCoef = 0.1 $ratingCoef = 100 $starCoef = 0.1 $ratingCoef = 110 $starCoef = 0.1 $ratingCoef = 120 $starCoef = 0.1 $ratingCoef = 130 $starCoef = 0.1 $ratingCoef = 140 $starCoef = 0.1 $ratingCoef = 150 $starCoef = 0.1 $ratingCoef = 160 $starCoef = 0.1 $ratingCoef = 170 $starCoef = 0.1 $ratingCoef = 180 $starCoef = 0.1 $ratingCoef = 190 $starCoef = 0.1 $ratingCoef = 200 $starCoef = 0.1 $ratingCoef = 210 $starCoef = 0.1 $ratingCoef = 220 $starCoef = 0.1 $ratingCoef = 230 $starCoef = 0.1 $ratingCoef = 240 $starCoef = 0.1 $ratingCoef = 250 $starCoef = 0.1 $ratingCoef = 260 $starCoef = 0.1 $ratingCoef = 270 $starCoef = 0.1 $ratingCoef = 280 $starCoef = 0.1 $ratingCoef = 290 $starCoef = 0.1 $ratingCoef = 300 $starCoef = 0.1 $ratingCoef = 310 $starCoef = 0.1 $ratingCoef = 320 $starCoef = 0.1 $ratingCoef = 330 $starCoef = 0.1 $ratingCoef = 340 $starCoef = 0.1 $ratingCoef = 350 $starCoef = 0.1 $ratingCoef = 360 $starCoef = 0.1 $ratingCoef = 370 $starCoef = 0.1 $ratingCoef = 380 $starCoef = 0.1 $ratingCoef = 390 $starCoef = 0.12 $ratingCoef = 10 $starCoef = 0.12 $ratingCoef = 20 $starCoef = 0.12 $ratingCoef = 30 $starCoef = 0.12 $ratingCoef = 40 $starCoef = 0.12 $ratingCoef = 50 $starCoef = 0.12 $ratingCoef = 60 $starCoef = 0.12 $ratingCoef = 70 $starCoef = 0.12 $ratingCoef = 80 $starCoef = 0.12 $ratingCoef = 90 $starCoef = 0.12 $ratingCoef = 100 $starCoef = 0.12 $ratingCoef = 110 $starCoef = 0.12 $ratingCoef = 120 $starCoef = 0.12 $ratingCoef = 130 $starCoef = 0.12 $ratingCoef = 140 $starCoef = 0.12 $ratingCoef = 150 $starCoef = 0.12 $ratingCoef = 160 $starCoef = 0.12 $ratingCoef = 170 $starCoef = 0.12 $ratingCoef = 180 $starCoef = 0.12 $ratingCoef = 190 $starCoef = 0.12 $ratingCoef = 200 $starCoef = 0.12 $ratingCoef = 210 $starCoef = 0.12 $ratingCoef = 220 $starCoef = 0.12 $ratingCoef = 230 $starCoef = 0.12 $ratingCoef = 240 $starCoef = 0.12 $ratingCoef = 250 $starCoef = 0.12 $ratingCoef = 260 $starCoef = 0.12 $ratingCoef = 270 $starCoef = 0.12 $ratingCoef = 280 $starCoef = 0.12 $ratingCoef = 290 $starCoef = 0.12 $ratingCoef = 300 $starCoef = 0.12 $ratingCoef = 310 $starCoef = 0.12 $ratingCoef = 320 $starCoef = 0.12 $ratingCoef = 330 $starCoef = 0.12 $ratingCoef = 340 $starCoef = 0.12 $ratingCoef = 350 $starCoef = 0.12 $ratingCoef = 360 $starCoef = 0.14 $ratingCoef = 10 $starCoef = 0.14 $ratingCoef = 20 $starCoef = 0.14 $ratingCoef = 30 $starCoef = 0.14 $ratingCoef = 40 $starCoef = 0.14 $ratingCoef = 50 $starCoef = 0.14 $ratingCoef = 60 $starCoef = 0.14 $ratingCoef = 70 $starCoef = 0.14 $ratingCoef = 80 $starCoef = 0.14 $ratingCoef = 90 $starCoef = 0.14 $ratingCoef = 100 $starCoef = 0.14 $ratingCoef = 110 $starCoef = 0.14 $ratingCoef = 120 $starCoef = 0.14 $ratingCoef = 130 $starCoef = 0.14 $ratingCoef = 140 $starCoef = 0.14 $ratingCoef = 150 $starCoef = 0.14 $ratingCoef = 160 $starCoef = 0.14 $ratingCoef = 170 $starCoef = 0.14 $ratingCoef = 180 $starCoef = 0.14 $ratingCoef = 190 $starCoef = 0.14 $ratingCoef = 200 $starCoef = 0.14 $ratingCoef = 210 $starCoef = 0.14 $ratingCoef = 220 $starCoef = 0.14 $ratingCoef = 230 $starCoef = 0.14 $ratingCoef = 240 $starCoef = 0.14 $ratingCoef = 250 $starCoef = 0.14 $ratingCoef = 260 $starCoef = 0.14 $ratingCoef = 270 $starCoef = 0.14 $ratingCoef = 280 $starCoef = 0.14 $ratingCoef = 290 $starCoef = 0.14 $ratingCoef = 300 $starCoef = 0.14 $ratingCoef = 310 $starCoef = 0.14 $ratingCoef = 320 $starCoef = 0.14 $ratingCoef = 330 $starCoef = 0.16 $ratingCoef = 10 $starCoef = 0.16 $ratingCoef = 20 $starCoef = 0.16 $ratingCoef = 30 $starCoef = 0.16 $ratingCoef = 40 $starCoef = 0.16 $ratingCoef = 50 $starCoef = 0.16 $ratingCoef = 60 $starCoef = 0.16 $ratingCoef = 70 $starCoef = 0.16 $ratingCoef = 80 $starCoef = 0.16 $ratingCoef = 90 $starCoef = 0.16 $ratingCoef = 100 $starCoef = 0.16 $ratingCoef = 110 $starCoef = 0.16 $ratingCoef = 120 $starCoef = 0.16 $ratingCoef = 130 $starCoef = 0.16 $ratingCoef = 140 $starCoef = 0.16 $ratingCoef = 150 $starCoef = 0.16 $ratingCoef = 160 $starCoef = 0.16 $ratingCoef = 170 $starCoef = 0.16 $ratingCoef = 180 $starCoef = 0.16 $ratingCoef = 190 $starCoef = 0.16 $ratingCoef = 200 $starCoef = 0.16 $ratingCoef = 210 $starCoef = 0.16 $ratingCoef = 220 $starCoef = 0.16 $ratingCoef = 230 $starCoef = 0.16 $ratingCoef = 240 $starCoef = 0.16 $ratingCoef = 250 $starCoef = 0.16 $ratingCoef = 260 $starCoef = 0.16 $ratingCoef = 270 $starCoef = 0.16 $ratingCoef = 280 $starCoef = 0.16 $ratingCoef = 290 $starCoef = 0.16 $ratingCoef = 300 $starCoef = 0.18 $ratingCoef = 10 $starCoef = 0.18 $ratingCoef = 20 $starCoef = 0.18 $ratingCoef = 30 $starCoef = 0.18 $ratingCoef = 40 $starCoef = 0.18 $ratingCoef = 50 $starCoef = 0.18 $ratingCoef = 60 $starCoef = 0.18 $ratingCoef = 70 $starCoef = 0.18 $ratingCoef = 80 $starCoef = 0.18 $ratingCoef = 90 $starCoef = 0.18 $ratingCoef = 100 $starCoef = 0.18 $ratingCoef = 110 $starCoef = 0.18 $ratingCoef = 120 $starCoef = 0.18 $ratingCoef = 130 $starCoef = 0.18 $ratingCoef = 140 $starCoef = 0.18 $ratingCoef = 150 $starCoef = 0.18 $ratingCoef = 160 $starCoef = 0.18 $ratingCoef = 170 $starCoef = 0.18 $ratingCoef = 180 $starCoef = 0.18 $ratingCoef = 190 $starCoef = 0.18 $ratingCoef = 200 $starCoef = 0.18 $ratingCoef = 210 $starCoef = 0.18 $ratingCoef = 220 $starCoef = 0.18 $ratingCoef = 230 $starCoef = 0.18 $ratingCoef = 240 $starCoef = 0.18 $ratingCoef = 250 $starCoef = 0.18 $ratingCoef = 260 $starCoef = 0.18 $ratingCoef = 270 $starCoef = 0.18 $ratingCoef = 280 $starCoef = 0.2 $ratingCoef = 10 $starCoef = 0.2 $ratingCoef = 20 $starCoef = 0.2 $ratingCoef = 30 $starCoef = 0.2 $ratingCoef = 40 $starCoef = 0.2 $ratingCoef = 50 $starCoef = 0.2 $ratingCoef = 60 $starCoef = 0.2 $ratingCoef = 70 $starCoef = 0.2 $ratingCoef = 80 $starCoef = 0.2 $ratingCoef = 90 $starCoef = 0.2 $ratingCoef = 100 $starCoef = 0.2 $ratingCoef = 110 $starCoef = 0.2 $ratingCoef = 120 $starCoef = 0.2 $ratingCoef = 130 $starCoef = 0.2 $ratingCoef = 140 $starCoef = 0.2 $ratingCoef = 150 $starCoef = 0.2 $ratingCoef = 160 $starCoef = 0.2 $ratingCoef = 170 $starCoef = 0.2 $ratingCoef = 180 $starCoef = 0.2 $ratingCoef = 190 $starCoef = 0.2 $ratingCoef = 200 $starCoef = 0.2 $ratingCoef = 210 $starCoef = 0.2 $ratingCoef = 220 $starCoef = 0.2 $ratingCoef = 230 $starCoef = 0.2 $ratingCoef = 240 $starCoef = 0.2 $ratingCoef = 250 $starCoef = 0.2 $ratingCoef = 260 $starCoef = 0.22 $ratingCoef = 10 $starCoef = 0.22 $ratingCoef = 20 $starCoef = 0.22 $ratingCoef = 30 $starCoef = 0.22 $ratingCoef = 40 $starCoef = 0.22 $ratingCoef = 50 $starCoef = 0.22 $ratingCoef = 60 $starCoef = 0.22 $ratingCoef = 70 $starCoef = 0.22 $ratingCoef = 80 $starCoef = 0.22 $ratingCoef = 90 $starCoef = 0.22 $ratingCoef = 100 $starCoef = 0.22 $ratingCoef = 110 $starCoef = 0.22 $ratingCoef = 120 $starCoef = 0.22 $ratingCoef = 130 $starCoef = 0.22 $ratingCoef = 140 $starCoef = 0.22 $ratingCoef = 150 $starCoef = 0.22 $ratingCoef = 160 $starCoef = 0.22 $ratingCoef = 170 $starCoef = 0.22 $ratingCoef = 180 $starCoef = 0.22 $ratingCoef = 190 $starCoef = 0.22 $ratingCoef = 200 $starCoef = 0.22 $ratingCoef = 210 $starCoef = 0.22 $ratingCoef = 220 $starCoef = 0.22 $ratingCoef = 230 $starCoef = 0.22 $ratingCoef = 240 $starCoef = 0.24 $ratingCoef = 10 $starCoef = 0.24 $ratingCoef = 20 $starCoef = 0.24 $ratingCoef = 30 $starCoef = 0.24 $ratingCoef = 40 $starCoef = 0.24 $ratingCoef = 50 $starCoef = 0.24 $ratingCoef = 60 $starCoef = 0.24 $ratingCoef = 70 $starCoef = 0.24 $ratingCoef = 80 $starCoef = 0.24 $ratingCoef = 90 $starCoef = 0.24 $ratingCoef = 100 $starCoef = 0.24 $ratingCoef = 110 $starCoef = 0.24 $ratingCoef = 120 $starCoef = 0.24 $ratingCoef = 130 $starCoef = 0.24 $ratingCoef = 140 $starCoef = 0.24 $ratingCoef = 150 $starCoef = 0.24 $ratingCoef = 160 $starCoef = 0.24 $ratingCoef = 170 $starCoef = 0.24 $ratingCoef = 180 $starCoef = 0.24 $ratingCoef = 190 $starCoef = 0.24 $ratingCoef = 200 $starCoef = 0.24 $ratingCoef = 210 $starCoef = 0.24 $ratingCoef = 220 $starCoef = 0.24 $ratingCoef = 230 $starCoef = 0.26 $ratingCoef = 10 $starCoef = 0.26 $ratingCoef = 20 $starCoef = 0.26 $ratingCoef = 30 $starCoef = 0.26 $ratingCoef = 40 $starCoef = 0.26 $ratingCoef = 50 $starCoef = 0.26 $ratingCoef = 60 $starCoef = 0.26 $ratingCoef = 70 $starCoef = 0.26 $ratingCoef = 80 $starCoef = 0.26 $ratingCoef = 90 $starCoef = 0.26 $ratingCoef = 100 $starCoef = 0.26 $ratingCoef = 110 $starCoef = 0.26 $ratingCoef = 120 $starCoef = 0.26 $ratingCoef = 130 $starCoef = 0.26 $ratingCoef = 140 $starCoef = 0.26 $ratingCoef = 150 $starCoef = 0.26 $ratingCoef = 160 $starCoef = 0.26 $ratingCoef = 170 $starCoef = 0.26 $ratingCoef = 180 $starCoef = 0.26 $ratingCoef = 190 $starCoef = 0.26 $ratingCoef = 200 $starCoef = 0.26 $ratingCoef = 210 $starCoef = 0.26 $ratingCoef = 220 $starCoef = 0.28 $ratingCoef = 10 $starCoef = 0.28 $ratingCoef = 20 $starCoef = 0.28 $ratingCoef = 30 $starCoef = 0.28 $ratingCoef = 40 $starCoef = 0.28 $ratingCoef = 50 $starCoef = 0.28 $ratingCoef = 60 $starCoef = 0.28 $ratingCoef = 70 $starCoef = 0.28 $ratingCoef = 80 $starCoef = 0.28 $ratingCoef = 90 $starCoef = 0.28 $ratingCoef = 100 $starCoef = 0.28 $ratingCoef = 110 $starCoef = 0.28 $ratingCoef = 120 $starCoef = 0.28 $ratingCoef = 130 $starCoef = 0.28 $ratingCoef = 140 $starCoef = 0.28 $ratingCoef = 150 $starCoef = 0.28 $ratingCoef = 160 $starCoef = 0.28 $ratingCoef = 170 $starCoef = 0.28 $ratingCoef = 180 $starCoef = 0.28 $ratingCoef = 190 $starCoef = 0.28 $ratingCoef = 200 $starCoef = 0.28 $ratingCoef = 210 $starCoef = 0.3 $ratingCoef = 10 $starCoef = 0.3 $ratingCoef = 20 $starCoef = 0.3 $ratingCoef = 30 $starCoef = 0.3 $ratingCoef = 40 $starCoef = 0.3 $ratingCoef = 50 $starCoef = 0.3 $ratingCoef = 60 $starCoef = 0.3 $ratingCoef = 70 $starCoef = 0.3 $ratingCoef = 80 $starCoef = 0.3 $ratingCoef = 90 $starCoef = 0.3 $ratingCoef = 100 $starCoef = 0.3 $ratingCoef = 110 $starCoef = 0.3 $ratingCoef = 120 $starCoef = 0.3 $ratingCoef = 130 $starCoef = 0.3 $ratingCoef = 140 $starCoef = 0.3 $ratingCoef = 150 $starCoef = 0.3 $ratingCoef = 160 $starCoef = 0.3 $ratingCoef = 170 $starCoef = 0.3 $ratingCoef = 180 $starCoef = 0.3 $ratingCoef = 190 $starCoef = 0.32 $ratingCoef = 10 $starCoef = 0.32 $ratingCoef = 20 $starCoef = 0.32 $ratingCoef = 30 $starCoef = 0.32 $ratingCoef = 40 $starCoef = 0.32 $ratingCoef = 50 $starCoef = 0.32 $ratingCoef = 60 $starCoef = 0.32 $ratingCoef = 70 $starCoef = 0.32 $ratingCoef = 80 $starCoef = 0.32 $ratingCoef = 90 $starCoef = 0.32 $ratingCoef = 100 $starCoef = 0.32 $ratingCoef = 110 $starCoef = 0.32 $ratingCoef = 120 $starCoef = 0.32 $ratingCoef = 130 $starCoef = 0.32 $ratingCoef = 140 $starCoef = 0.32 $ratingCoef = 150 $starCoef = 0.32 $ratingCoef = 160 $starCoef = 0.32 $ratingCoef = 170 $starCoef = 0.32 $ratingCoef = 180 $starCoef = 0.32 $ratingCoef = 190 $starCoef = 0.34 $ratingCoef = 10 $starCoef = 0.34 $ratingCoef = 20 $starCoef = 0.34 $ratingCoef = 30 $starCoef = 0.34 $ratingCoef = 40 $starCoef = 0.34 $ratingCoef = 50 $starCoef = 0.34 $ratingCoef = 60 $starCoef = 0.34 $ratingCoef = 70 $starCoef = 0.34 $ratingCoef = 80 $starCoef = 0.34 $ratingCoef = 90 $starCoef = 0.34 $ratingCoef = 100 $starCoef = 0.34 $ratingCoef = 110 $starCoef = 0.34 $ratingCoef = 120 $starCoef = 0.34 $ratingCoef = 130 $starCoef = 0.34 $ratingCoef = 140 $starCoef = 0.34 $ratingCoef = 150 $starCoef = 0.34 $ratingCoef = 160 $starCoef = 0.34 $ratingCoef = 170 $starCoef = 0.34 $ratingCoef = 180 $starCoef = 0.36 $ratingCoef = 10 $starCoef = 0.36 $ratingCoef = 20 $starCoef = 0.36 $ratingCoef = 30 $starCoef = 0.36 $ratingCoef = 40 $starCoef = 0.36 $ratingCoef = 50 $starCoef = 0.36 $ratingCoef = 60 $starCoef = 0.36 $ratingCoef = 70 $starCoef = 0.36 $ratingCoef = 80 $starCoef = 0.36 $ratingCoef = 90 $starCoef = 0.36 $ratingCoef = 100 $starCoef = 0.36 $ratingCoef = 110 $starCoef = 0.36 $ratingCoef = 120 $starCoef = 0.36 $ratingCoef = 130 $starCoef = 0.36 $ratingCoef = 140 $starCoef = 0.36 $ratingCoef = 150 $starCoef = 0.36 $ratingCoef = 160 $starCoef = 0.36 $ratingCoef = 170 $starCoef = 0.38 $ratingCoef = 10 $starCoef = 0.38 $ratingCoef = 20 $starCoef = 0.38 $ratingCoef = 30 $starCoef = 0.38 $ratingCoef = 40 $starCoef = 0.38 $ratingCoef = 50 $starCoef = 0.38 $ratingCoef = 60 $starCoef = 0.38 $ratingCoef = 70 $starCoef = 0.38 $ratingCoef = 80 $starCoef = 0.38 $ratingCoef = 90 $starCoef = 0.38 $ratingCoef = 100 $starCoef = 0.38 $ratingCoef = 110 $starCoef = 0.38 $ratingCoef = 120 $starCoef = 0.38 $ratingCoef = 130 $starCoef = 0.38 $ratingCoef = 140 $starCoef = 0.38 $ratingCoef = 150 $starCoef = 0.38 $ratingCoef = 160 $starCoef = 0.4 $ratingCoef = 10 $starCoef = 0.4 $ratingCoef = 20 $starCoef = 0.4 $ratingCoef = 30 $starCoef = 0.4 $ratingCoef = 40 $starCoef = 0.4 $ratingCoef = 50 $starCoef = 0.4 $ratingCoef = 60 $starCoef = 0.4 $ratingCoef = 70 $starCoef = 0.4 $ratingCoef = 80 $starCoef = 0.4 $ratingCoef = 90 $starCoef = 0.4 $ratingCoef = 100 $starCoef = 0.4 $ratingCoef = 110 $starCoef = 0.4 $ratingCoef = 120 $starCoef = 0.4 $ratingCoef = 130 $starCoef = 0.4 $ratingCoef = 140 $starCoef = 0.4 $ratingCoef = 150 $starCoef = 0.42 $ratingCoef = 10 $starCoef = 0.42 $ratingCoef = 20 $starCoef = 0.42 $ratingCoef = 30 $starCoef = 0.42 $ratingCoef = 40 $starCoef = 0.42 $ratingCoef = 50 $starCoef = 0.42 $ratingCoef = 60 $starCoef = 0.42 $ratingCoef = 70 $starCoef = 0.42 $ratingCoef = 80 $starCoef = 0.42 $ratingCoef = 90 $starCoef = 0.42 $ratingCoef = 100 $starCoef = 0.42 $ratingCoef = 110 $starCoef = 0.42 $ratingCoef = 120 $starCoef = 0.42 $ratingCoef = 130 $starCoef = 0.42 $ratingCoef = 140 $starCoef = 0.42 $ratingCoef = 150 $starCoef = 0.44 $ratingCoef = 10 $starCoef = 0.44 $ratingCoef = 20 $starCoef = 0.44 $ratingCoef = 30 $starCoef = 0.44 $ratingCoef = 40 $starCoef = 0.44 $ratingCoef = 50 $starCoef = 0.44 $ratingCoef = 60 $starCoef = 0.44 $ratingCoef = 70 $starCoef = 0.44 $ratingCoef = 80 $starCoef = 0.44 $ratingCoef = 90 $starCoef = 0.44 $ratingCoef = 100 $starCoef = 0.44 $ratingCoef = 110 $starCoef = 0.44 $ratingCoef = 120 $starCoef = 0.44 $ratingCoef = 130 $starCoef = 0.44 $ratingCoef = 140 $starCoef = 0.46 $ratingCoef = 10 $starCoef = 0.46 $ratingCoef = 20 $starCoef = 0.46 $ratingCoef = 30 $starCoef = 0.46 $ratingCoef = 40 $starCoef = 0.46 $ratingCoef = 50 $starCoef = 0.46 $ratingCoef = 60 $starCoef = 0.46 $ratingCoef = 70 $starCoef = 0.46 $ratingCoef = 80 $starCoef = 0.46 $ratingCoef = 90 $starCoef = 0.46 $ratingCoef = 100 $starCoef = 0.46 $ratingCoef = 110 $starCoef = 0.46 $ratingCoef = 120 $starCoef = 0.46 $ratingCoef = 130 $starCoef = 0.46 $ratingCoef = 140 $starCoef = 0.48 $ratingCoef = 10 $starCoef = 0.48 $ratingCoef = 20 $starCoef = 0.48 $ratingCoef = 30 $starCoef = 0.48 $ratingCoef = 40 $starCoef = 0.48 $ratingCoef = 50 $starCoef = 0.48 $ratingCoef = 60 $starCoef = 0.48 $ratingCoef = 70 $starCoef = 0.48 $ratingCoef = 80 $starCoef = 0.48 $ratingCoef = 90 $starCoef = 0.48 $ratingCoef = 100 $starCoef = 0.48 $ratingCoef = 110 $starCoef = 0.48 $ratingCoef = 120 $starCoef = 0.48 $ratingCoef = 130 $starCoef = 0.5 $ratingCoef = 10 $starCoef = 0.5 $ratingCoef = 20 $starCoef = 0.5 $ratingCoef = 30 $starCoef = 0.5 $ratingCoef = 40 $starCoef = 0.5 $ratingCoef = 50 $starCoef = 0.5 $ratingCoef = 60 $starCoef = 0.5 $ratingCoef = 70 $starCoef = 0.5 $ratingCoef = 80 $starCoef = 0.5 $ratingCoef = 90 $starCoef = 0.5 $ratingCoef = 100 $starCoef = 0.5 $ratingCoef = 110 $starCoef = 0.5 $ratingCoef = 120 $starCoef = 0.5 $ratingCoef = 130 $starCoef = 0.52 $ratingCoef = 10 $starCoef = 0.52 $ratingCoef = 20 $starCoef = 0.52 $ratingCoef = 30 $starCoef = 0.52 $ratingCoef = 40 $starCoef = 0.52 $ratingCoef = 50 $starCoef = 0.52 $ratingCoef = 60 $starCoef = 0.52 $ratingCoef = 70 $starCoef = 0.52 $ratingCoef = 80 $starCoef = 0.52 $ratingCoef = 90 $starCoef = 0.52 $ratingCoef = 100 $starCoef = 0.52 $ratingCoef = 110 $starCoef = 0.52 $ratingCoef = 120 $starCoef = 0.54 $ratingCoef = 10 $starCoef = 0.54 $ratingCoef = 20 $starCoef = 0.54 $ratingCoef = 30 $starCoef = 0.54 $ratingCoef = 40 $starCoef = 0.54 $ratingCoef = 50 $starCoef = 0.54 $ratingCoef = 60 $starCoef = 0.54 $ratingCoef = 70 $starCoef = 0.54 $ratingCoef = 80 $starCoef = 0.54 $ratingCoef = 90 $starCoef = 0.54 $ratingCoef = 100 $starCoef = 0.54 $ratingCoef = 110 $starCoef = 0.54 $ratingCoef = 120 $starCoef = 0.56 $ratingCoef = 10 $starCoef = 0.56 $ratingCoef = 20 $starCoef = 0.56 $ratingCoef = 30 $starCoef = 0.56 $ratingCoef = 40 $starCoef = 0.56 $ratingCoef = 50 $starCoef = 0.56 $ratingCoef = 60 $starCoef = 0.56 $ratingCoef = 70 $starCoef = 0.56 $ratingCoef = 80 $starCoef = 0.56 $ratingCoef = 90 $starCoef = 0.56 $ratingCoef = 100 $starCoef = 0.56 $ratingCoef = 110 $starCoef = 0.56 $ratingCoef = 120 $starCoef = 0.58 $ratingCoef = 10 $starCoef = 0.58 $ratingCoef = 20 $starCoef = 0.58 $ratingCoef = 30 $starCoef = 0.58 $ratingCoef = 40 $starCoef = 0.58 $ratingCoef = 50 $starCoef = 0.58 $ratingCoef = 60 $starCoef = 0.58 $ratingCoef = 70 $starCoef = 0.58 $ratingCoef = 80 $starCoef = 0.58 $ratingCoef = 90 $starCoef = 0.58 $ratingCoef = 100 $starCoef = 0.58 $ratingCoef = 110 $starCoef = 0.6 $ratingCoef = 10 $starCoef = 0.6 $ratingCoef = 20 $starCoef = 0.6 $ratingCoef = 30 $starCoef = 0.6 $ratingCoef = 40 $starCoef = 0.6 $ratingCoef = 50 $starCoef = 0.6 $ratingCoef = 60 $starCoef = 0.6 $ratingCoef = 70 $starCoef = 0.6 $ratingCoef = 80 $starCoef = 0.6 $ratingCoef = 90 $starCoef = 0.6 $ratingCoef = 100 $starCoef = 0.6 $ratingCoef = 110 $starCoef = 0.62 $ratingCoef = 10 $starCoef = 0.62 $ratingCoef = 20 $starCoef = 0.62 $ratingCoef = 30 $starCoef = 0.62 $ratingCoef = 40 $starCoef = 0.62 $ratingCoef = 50 $starCoef = 0.62 $ratingCoef = 60 $starCoef = 0.62 $ratingCoef = 70 $starCoef = 0.62 $ratingCoef = 80 $starCoef = 0.62 $ratingCoef = 90 $starCoef = 0.62 $ratingCoef = 100 $starCoef = 0.62 $ratingCoef = 110 $starCoef = 0.64 $ratingCoef = 10 $starCoef = 0.64 $ratingCoef = 20 $starCoef = 0.64 $ratingCoef = 30 $starCoef = 0.64 $ratingCoef = 40 $starCoef = 0.64 $ratingCoef = 50 $starCoef = 0.64 $ratingCoef = 60 $starCoef = 0.64 $ratingCoef = 70 $starCoef = 0.64 $ratingCoef = 80 $starCoef = 0.64 $ratingCoef = 90 $starCoef = 0.64 $ratingCoef = 100 $starCoef = 0.66 $ratingCoef = 10 $starCoef = 0.66 $ratingCoef = 20 $starCoef = 0.66 $ratingCoef = 30 $starCoef = 0.66 $ratingCoef = 40 $starCoef = 0.66 $ratingCoef = 50 $starCoef = 0.66 $ratingCoef = 60 $starCoef = 0.66 $ratingCoef = 70 $starCoef = 0.66 $ratingCoef = 80 $starCoef = 0.66 $ratingCoef = 90 $starCoef = 0.66 $ratingCoef = 100 $starCoef = 0.68 $ratingCoef = 10 $starCoef = 0.68 $ratingCoef = 20 $starCoef = 0.68 $ratingCoef = 30 $starCoef = 0.68 $ratingCoef = 40 $starCoef = 0.68 $ratingCoef = 50 $starCoef = 0.68 $ratingCoef = 60 $starCoef = 0.68 $ratingCoef = 70 $starCoef = 0.68 $ratingCoef = 80 $starCoef = 0.68 $ratingCoef = 90 $starCoef = 0.68 $ratingCoef = 100 $starCoef = 0.7 $ratingCoef = 10 $starCoef = 0.7 $ratingCoef = 20 $starCoef = 0.7 $ratingCoef = 30 $starCoef = 0.7 $ratingCoef = 40 $starCoef = 0.7 $ratingCoef = 50 $starCoef = 0.7 $ratingCoef = 60 $starCoef = 0.7 $ratingCoef = 70 $starCoef = 0.7 $ratingCoef = 80 $starCoef = 0.7 $ratingCoef = 90 $starCoef = 0.72 $ratingCoef = 10 $starCoef = 0.72 $ratingCoef = 20 $starCoef = 0.72 $ratingCoef = 30 $starCoef = 0.72 $ratingCoef = 40 $starCoef = 0.72 $ratingCoef = 50 $starCoef = 0.72 $ratingCoef = 60 $starCoef = 0.72 $ratingCoef = 70 $starCoef = 0.72 $ratingCoef = 80 $starCoef = 0.72 $ratingCoef = 90 $starCoef = 0.74 $ratingCoef = 10 $starCoef = 0.74 $ratingCoef = 20 $starCoef = 0.74 $ratingCoef = 30 $starCoef = 0.74 $ratingCoef = 40 $starCoef = 0.74 $ratingCoef = 50 $starCoef = 0.74 $ratingCoef = 60 $starCoef = 0.74 $ratingCoef = 70 $starCoef = 0.74 $ratingCoef = 80 $starCoef = 0.74 $ratingCoef = 90 $starCoef = 0.76 $ratingCoef = 10 $starCoef = 0.76 $ratingCoef = 20 $starCoef = 0.76 $ratingCoef = 30 $starCoef = 0.76 $ratingCoef = 40 $starCoef = 0.76 $ratingCoef = 50 $starCoef = 0.76 $ratingCoef = 60 $starCoef = 0.76 $ratingCoef = 70 $starCoef = 0.76 $ratingCoef = 80 $starCoef = 0.76 $ratingCoef = 90 $starCoef = 0.78 $ratingCoef = 10 $starCoef = 0.78 $ratingCoef = 20 $starCoef = 0.78 $ratingCoef = 30 $starCoef = 0.78 $ratingCoef = 40 $starCoef = 0.78 $ratingCoef = 50 $starCoef = 0.78 $ratingCoef = 60 $starCoef = 0.78 $ratingCoef = 70 $starCoef = 0.78 $ratingCoef = 80 $starCoef = 0.78 $ratingCoef = 90 $starCoef = 0.8 $ratingCoef = 10 $starCoef = 0.8 $ratingCoef = 20 $starCoef = 0.8 $ratingCoef = 30 $starCoef = 0.8 $ratingCoef = 40 $starCoef = 0.8 $ratingCoef = 50 $starCoef = 0.8 $ratingCoef = 60 $starCoef = 0.8 $ratingCoef = 70 $starCoef = 0.8 $ratingCoef = 80 $starCoef = 0.82 $ratingCoef = 10 $starCoef = 0.82 $ratingCoef = 20 $starCoef = 0.82 $ratingCoef = 30 $starCoef = 0.82 $ratingCoef = 40 $starCoef = 0.82 $ratingCoef = 50 $starCoef = 0.82 $ratingCoef = 60 $starCoef = 0.82 $ratingCoef = 70 $starCoef = 0.82 $ratingCoef = 80 $starCoef = 0.84 $ratingCoef = 10 $starCoef = 0.84 $ratingCoef = 20 $starCoef = 0.84 $ratingCoef = 30 $starCoef = 0.84 $ratingCoef = 40 $starCoef = 0.84 $ratingCoef = 50 $starCoef = 0.84 $ratingCoef = 60 $starCoef = 0.84 $ratingCoef = 70 $starCoef = 0.84 $ratingCoef = 80 $starCoef = 0.86 $ratingCoef = 10 $starCoef = 0.86 $ratingCoef = 20 $starCoef = 0.86 $ratingCoef = 30 $starCoef = 0.86 $ratingCoef = 40 $starCoef = 0.86 $ratingCoef = 50 $starCoef = 0.86 $ratingCoef = 60 $starCoef = 0.86 $ratingCoef = 70 $starCoef = 0.86 $ratingCoef = 80 $starCoef = 0.88 $ratingCoef = 10 $starCoef = 0.88 $ratingCoef = 20 $starCoef = 0.88 $ratingCoef = 30 $starCoef = 0.88 $ratingCoef = 40 $starCoef = 0.88 $ratingCoef = 50 $starCoef = 0.88 $ratingCoef = 60 $starCoef = 0.88 $ratingCoef
Process exited with code 137.