This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <queue> | |
#include <functional> | |
/* | |
* | |
* | |
* | |
7 10 | |
1 2 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)$', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <queue> | |
#include <functional> | |
/* | |
* | |
* | |
* | |
7 10 | |
1 2 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'scrooloose/nerdcommenter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <queue> | |
#include <functional> | |
#include <string> | |
#include <sstream> | |
using namespace std; | |
int n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
OlderNewer