Skip to content

Instantly share code, notes, and snippets.

View sifue's full-sized avatar

Soichiro Yoshimura sifue

View GitHub Profile
@sifue
sifue / guide.md
Last active April 16, 2018 05:51
N予備校 プログラミング 入門コースについてのガイダンス (2018年度版)

自己紹介 00:00

  • あいさつ
  • 自己紹介
    • 吉村総一郎
    • ハンドルネームは sifue
      • 読み方は「しふー」
      • 元々ニコニコ生放送の開発者を3年
      • その前は製造業向けシステムインテグレーターを5年
      • 学生の頃は研究室で画像解析や数値解析のプログラムを書いていた
  • 趣味は競技系のネットのゲーム、LoL、PUBG、Fortniteやハースストーンなど (弱い)
@sifue
sifue / file0.txt
Last active July 5, 2019 10:46
C/C++のIDEとしてCLionがマルチプラットフォームで便利 ref: https://qiita.com/sifue/items/a6d33d0d75f32cf0c728
g++ main.cpp
@sifue
sifue / mocha_copy.sh
Created February 24, 2017 11:17
mochaをコピーするコマンド
cp -r ../schedule-arranger/node_modules/mocha ./node_modules/
cp -r ../schedule-arranger/node_modules/.bin/mocha ./node_modules/.bin/
cp -r ../schedule-arranger/node_modules/.bin/_mocha ./node_modules/.bin/
@sifue
sifue / namegrep.sh
Created August 16, 2016 04:08
マインクラフトのgzを全部解凍して、特定の人を抽出
ls | grep .gz | xargs -n1 gunzip
ls | grep .log | xargs -n1 grep "the game" | vim -
@sifue
sifue / main.cpp
Created August 13, 2016 10:35
競技プログラミング用C++テンプレ
#include <iostream>
#include <complex>
#include <vector>
#include <stack>
using namespace std;
template<class T> bool operator<(const complex<T> &a, const complex<T> &b){
return a.real() == b.real() ? a.imag() < b.imag() : a.real() < b.real();
}
@sifue
sifue / main.cpp
Created July 23, 2016 05:55
フロッピーキューブ途中まで
#include <iostream>
#include <vector>
using namespace std;
enum CubeState {FF, FR, RF, RR, HOMO, HETERO};
enum Rotate {A, B, C, D};
CubeState reverse(CubeState s, Rotate r) {
if (s == FF) {
@sifue
sifue / main.cpp
Created July 22, 2016 23:05
幾何の問題を解く時のテンプレート
#include <iostream>
#include <complex>
#include <vector>
#include <stack>
using namespace std;
template<class T> bool operator<(const complex<T> &a, const complex<T> &b){
return a.real() == b.real() ? a.imag() < b.imag() : a.real() < b.real();
}
#include <iostream>
#include <complex>
#include <vector>
#include <stack>
using namespace std;
template<class T> bool operator<(const complex<T> &a, const complex<T> &b){
return a.real() == b.real() ? a.imag() < b.imag() : a.real() < b.real();
}
@sifue
sifue / main.cpp
Created July 11, 2016 10:31
シールの重なり (Overlap) 解けたコード
#include <iostream>
#include <complex>
#include <vector>
#include <stack>
using namespace std;
template<class T> bool operator<(const complex<T> &a, const complex<T> &b){
return a.real() == b.real() ? a.imag() < b.imag() : a.real() < b.real();
}
@sifue
sifue / main.cpp
Created July 10, 2016 18:06
複素数で書きなおしてみるOverlap(Wrong Answer)
#include <iostream>
#include <complex>
#include <vector>
#include <stack>
using namespace std;
template<class T> bool operator<(const complex<T> &a, const complex<T> &b){
return a.real() == b.real() ? a.imag() < b.imag() : a.real() < b.real();
}