$ if [ -e "a" ]; then echo "a"; fi
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
git branch --merged| grep -vE "(^\*|master|main|dev)" | xargs git branch -d |
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Clean up local branches", | |
"type": "shell", | |
"command": "git branch --merged | grep -vE '(^\\*|master|main|dev)' | xargs git branch -d", | |
}, | |
] | |
} |
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 <iomanip> | |
int main() | |
{ | |
int a, b; | |
std::cin >> a >> b; | |
std::cout << a / b << ' '; | |
std::cout << a % b << ' '; | |
std::cout << std::fixed << std::setprecision(8); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
$ sphinx-quickstart
$ cd docs
$ sphinx-apidoc -ef -o source ../depynd # e: separete, f: overwrite
$ make html
- IO
N = int(input())
l = len(str(N))-1
print(l*9 + ((N+1)//(10**l)-1))
- 全組み合わせ列挙
np.hstack([np.repeat(X, len(Y), axis=0), np.tile(Y, [len(X), 1])])
- マハラノビス距離計算
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder