Skip to content

Instantly share code, notes, and snippets.

import model
import math
from model import WeaponType
class MyStrategy:
def __init__(self):
pass
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
0.488120817378
0.544314170823
0.409821187451
0.538715311322
0.215482235497
0.263476861488
0.190094215058
0.412683404061
0.26159096372
0.882708380545
import System.IO
import Control.Monad
import Control.Applicative
import Data.List
import qualified Data.Set as S
parseInt :: String -> Int
parseInt x = read x
solve :: Int -> [(Int,Int)] -> S.Set Int -> Int
library(caret)
library(randomForest)
library("e1071")
#============================================================================================================
# Utility functions
#============================================================================================================
log2_safe <- function(x){
result <- log(x+1.0)
return(result)
}
window.fillRandom = function(values) {
var top300 = ["NighTurs", "Antmsu", "vzverev78", "Banzzaj", "Recar", "Hohol", "tyamgin", "Commandos", "Levatol", "byserge", "morozec", "metahom", "cheeser", "FDoKE", "Ederigo", "Romka", "Laur_lct", "SkyHawk", "longloaf", "login_169605", "jetblack", "novich-OK", "WildCat", "Megabyte", "En_taro_adun", "Stef", "kirdark", "Oxidize", "mi5", "serlis", "mustang", "antonpp", "r2d2", "alevlaber", "Deo", "demidenko", "MidOrFeed", "-XraY-", "maylat", "Kladzey", "ALEXks", "Equinox", "Sanders", "ud1", "SDil", "Croohand", "danieva", "alberist", "ArtSobes", "Deadundead", "ashru", "sokian", "cmdrD", "leontibrechko", "AntonT", "scriptGuerrilla", "Crabar", "anton_sh", "dbulavka", "Grino", "Signer", "SemikX", "kipar", "Rety", "AntonSemenov", "rekcahd", "boddicheg", "package.zaic", "oreshnik", "ManGeorge", "Firen95", "frid33", "cups_24587", "JayTord", "ajto", "zinya", "ArTemich27", "Milanin", "Qusta", "Crustquake", "4eyes", "Ooliinyk", "Irioth", "Tikvik", "Spasitel", "MucmuK", "wntgd",