Skip to content

Instantly share code, notes, and snippets.

View hsnks100's full-sized avatar
😍
wow

Han Gyoung-Su hsnks100

😍
wow
View GitHub Profile
#include <iostream>
#include <cstdio> // dfdfdaㅣㅏㅣㅏㅣㅏㅣㅏ
#include <algorithm>
using namespace std;
// https://docs.google.com/file/d/0BzNvN1OCjO-fUE52Wm5pdU9iaDg/view
// B-Tree
// ilI|
//https://bitbucket.org/leejaku
#include <iostream>
#include <algorithm>
#include <queue>
#include <functional>
/*
*
*
*
7 10
1 2 2
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
filetype plugin indent on " required
" 기본 무시 설정
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](\.(git|hg|svn)|\_site)$',
\ 'file': '\v\.(exe|so|dll|class|png|jpg|jpeg)$',
#include <iostream>
#include <algorithm>
#include <queue>
#include <functional>
/*
*
*
*
7 10
1 2 2
set names utf8;
CREATE TABLE `compileinfo` (
`solution_id` int(11) NOT NULL DEFAULT '0',
`error` text,
PRIMARY KEY (`solution_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `contest` (
set names utf8;
CREATE TABLE `compileinfo` (
`solution_id` int(11) NOT NULL DEFAULT '0',
`error` text,
PRIMARY KEY (`solution_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `contest` (
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/nerdcommenter'
#include <iostream>
#include <algorithm>
#include <queue>
#include <functional>
#include <string>
#include <sstream>
using namespace std;
int n;
# This is a very simple implementation of the UCT Monte Carlo Tree Search algorithm in Python 2.7.
# The function UCT(rootstate, itermax, verbose = False) is towards the bottom of the code.
# It aims to have the clearest and simplest possible code, and for the sake of clarity, the code
# is orders of magnitude less efficient than it could be made, particularly by using a
# state.GetRandomMove() or state.DoRandomRollout() function.
#
# Example GameState classes for Nim, OXO and Othello are included to give some idea of how you
# can write your own GameState use UCT in your 2-player game. Change the game to be played in
# the UCTPlayGame() function at the bottom of the code.
#
set nocompatible " be iMproved, required
filetype off " required
let g:JSHintUpdateWriteOnly = 1
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')