This file contains hidden or 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
*.pyc | |
*.diff |
This file contains hidden or 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
from __future__ import division | |
import time | |
import numpy as np | |
from sklearn.datasets import load_digits, make_classification | |
from sklearn.svm import SVC | |
from matplotlib import pyplot | |
from scw import SCW1 |
This file contains hidden or 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
[ 1 2 0 -1] | |
[ 3 7 -1 3] | |
[ 2 2 1 2] | |
[ 1 2 0 -1] | |
[ 0 1 -1 6] | |
[ 2 2 1 2] | |
[ 1 2 0 -1] | |
[ 0 1 -1 6] |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# マインスイーパー | |
# コマンドライン引数にヨコ、タテ、地雷の数を渡してあげると動きます | |
# 入力を求められるので掘りたいマスの座標をスペースで区切って渡してあげてください | |
# | |
import sys | |
import random |
NewerOlder