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
prefix operator / | |
public prefix func +(rhs: Rational) -> Rational // これいる? | |
{ | |
return Rational(rhs.pee, rhs.cue) | |
} | |
public prefix func -(rhs: Rational) -> Rational // 反数 | |
{ | |
return Rational(-rhs.pee, rhs.cue) | |
} |
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
// Neary equal needs this value | |
fileprivate let ALLOEABLE_ERROR = 1e-12 | |
// Custom operators | |
prefix operator / | |
infix operator **: MultiplicationPrecedence | |
// <Extentions for using float easily> | |
// Reciprocal |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[1]: | |
import random | |
from pathlib import Path | |
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
index | Match 1 Winner | Match 1 Loser | Match 2 Winner | Match 2 Loser | Match 3 Winner | Match 3 Loser | Match 4 Winner | Match 4 Loser | |
---|---|---|---|---|---|---|---|---|---|
1 | Emu | Parado | Taiga | Hiiro | Niko | Poppy | Kiriya | Kuroto | |
2 | Emu | Kuroto | Poppy | Hiiro | Kiriya | Taiga | Niko | Parado | |
3 | Emu | Niko | Kiriya | Kuroto | Hiiro | Poppy | Parado | Taiga | |
4 | Parado | Poppy | Emu | Taiga | Niko | Kuroto | Hiiro | Kiriya | |
5 | Niko | Poppy | Hiiro | Kiriya | Taiga | Kuroto | Parado | Emu | |
6 | Emu | Hiiro | Poppy | Kuroto | Taiga | Kiriya | Niko | Parado | |
7 | Niko | Hiiro | Emu | Parado | Kiriya | Kuroto | Taiga | Poppy | |
8 | Emu | Niko | Parado | Hiiro | Taiga | Kiriya | Kuroto | Poppy | |
9 | Parado | Kuroto | Emu | Kiriya | Niko | Hiiro | Taiga | Poppy |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[1]: | |
from pathlib import Path | |
# In[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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[1]: | |
from pathlib import Path | |
# In[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
index | home | hscore | vscore | visitor | |
---|---|---|---|---|---|
0 | BayStars | 8 | 1 | Dragons | |
1 | Tigers | 2 | 1 | Swallows | |
2 | Carp | 5 | 0 | Giants | |
3 | Fighters | 7 | 3 | Buffaloes | |
4 | Marines | 5 | 4 | Eagles | |
5 | Hawks | 5 | 4 | Lions | |
6 | BayStars | 1 | 9 | Dragons | |
7 | Tigers | 1 | 0 | Swallows | |
8 | Carp | 2 | 5 | Giants |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[47]: | |
import itertools | |
import math | |
from pathlib import Path |
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
year | game | draw | |
---|---|---|---|
2016 | 858 | 18 | |
2017 | 858 | 16 | |
2018 | 858 | 16 | |
2019 | 858 | 22 |
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
// ==UserScript== | |
// @name SNSTeXify | |
// @namespace https://junjo-ponpo.com/ | |
// @version 1.0.0 | |
// @description Render TeX Equation by KaTeX for SNSs. | |
// @author BlueRayi | |
// @include https://twitter.com/* | |
// @resource KaTeXCSS https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css | |
// @require https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/contrib/auto-render.min.js |
OlderNewer