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
/* ==UserStyle== | |
@name MouseDictionary | |
@namespace akouryy.net/stylus | |
@version 1.0.0 | |
@description userstyle for MouseDictionary | |
@author akouryy | |
==/UserStyle== */ | |
@-moz-document regexp(".*") { | |
.net-akouryy-mouse_dictionary-custom { |
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
COMPLEMENT = %r{ | |
^ (?: | |
(?<A> [01] ) | |
(?= (?<B> [01] \g<B> [01] | , .*? (?! \k<A>) [01] ) $ ) | |
)++ | |
, [01]++ $ | |
}x | |
BINARY_X = %r{ | |
^ (?<B>) |
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
{M[m | |
a A! s S! i I! o O! # staticっぽいメソッドもインスタンスを介して呼び出す必要があるのでインスタンスを作成 | |
N <50> = | |
/N | |
<0> <-1> # スタック: 上←[-1,0]→下 | |
N N* 2 aa.? = # 「2」というのはスタック([N*,N,-1,0])の上から2番目に積まれている<-1>のこと | |
1 # 1は<0> | |
J <8> = | |
/J | |
J J* 3 aa.? = # 3は<-1> |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("tweetdeck.twitter.com") { | |
#container { | |
background: url(file:///C:/OneDrive/images/anime/lapin-1.png); | |
background-size: cover; | |
} | |
.js-app-columns, | |
.js-detail-container, | |
.js-column, |
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 <bits/stdc++.h> | |
using namespace std; | |
#define lambda [&] | |
#define tmpA template<class A> | |
#define tmpB template<class A, class B> | |
#define tmpX template<class X, class ...Y> | |
tmpA using V = vector<A>; tmpA using W = V<V<A>>; tmpA using VW = V<W<A>>; tmpA using WW = W<W<A>>; | |
tmpB using P = pair<A, B>; tmpA using PP = P<A, A>; | |
tmpA using S = set<A>; |
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 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
絶対書く | |
#define int long long | |
ios::sync_with_stdio(0); cin.tie(0); | |
気をつける | |
入力が0や負のとき | |
入力が全て条件Pを満たす/満たさないとき | |
出力が0や負のとき | |
出力が存在しないとき(-1, NGなど) | |
出力が全てPを満たす/満たさないとき |
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
テンプレ: https://gist.github.com/akouryy/7450d21b24aaa2bcbbaa |
NewerOlder