Skip to content

Instantly share code, notes, and snippets.

@kusano
kusano / kusano_k.txt
Last active April 20, 2021 18:08
Qtum Super Staker Description
Address: QhcSKGqD2xnfayqzrJjb8wDRfRzfwoZ9Qz
Mininum free: 5 %
Minimum UTXO value: 10 QTUM
Delegations require about 1 QTUM regardless of amount of staking assets.
With small assets it will take a long time to recoup the cost of the delegation.
Since: April 19 2021
@kusano
kusano / E.cpp
Created March 28, 2021 01:48
Google Code Jam Qualification Round 2021 Cheating Detection
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
using namespace std;
double f(double x)
{
return 1/(1+exp(-x));
}
@kusano
kusano / gist:d5004cf799bb352dc8034db8d4ac392d
Last active April 1, 2021 16:47
Small carrier rocket
Small carrier rocket
Dyson sphere component
Frame material
Carbon nanotube
Graphene
Energetic graphite
Coal*
Sulfuric acid
Refined oil
Crude oil
電気点ける
curl http://Remo-A35E81/messages -H "X-Requested-With: Remo-A35E81" -d '{"format":"us","freq":37,"data":[3416,1788,385,480,397,484,383,1358,389,1356,388,476,395,1360,395,469,391,487,385,483,388,1356,388,481,391,481,389,1357,389,485,385,1355,390,482,390,1355,388,484,390,482,387,1356,388,486,388,477,392,482,391,486,385,1356,391,483,389,1354,390,1354,388,482,390,1353,391,484,392,480,392,474,395,476,396,1351,392,484,388,485,387,1352,392,479,393,479,394,65535,0,9928,3411,1793,386,479,394,483,389,1356,387,1355,391,481,391,1353,387,485,391,481,391,483,389,1354,390,481,391,481,391,1353,388,482,392,1355,385,489,418,1320,388,479,394,481,396,1352,389,481,391,485,418,443,419,455,393,1357,410,458,392,1352,413,1330,392,481,422,1320,414,462,385,486,410,463,386,483,423,1320,412,457,428,440,418,1334,409,461,388,485,410]}'
電気消す
curl http://Remo-A35E81/messages -H "X-Requested-With: Remo-A35E81" -d '{"format":"us","freq":37,"data":[3417,1789,416,449,430,442,432,1317,415,1329,412,456,393,1356,412,453,397,481,388,485,388,1
@kusano
kusano / gist:83b2987d7a34dd8573226b8357194e5f
Last active January 1, 2021 10:19
あつまれどうぶつの森1月
タランチュラ 草 19:00-04:00
イトウ 16:00-09:00 LL 川(崖上)
チョウチンアンコウ 16:00-09:00 海 L
ズワイガニ いつでも 普 大
@kusano
kusano / gist:ec93be548da5ca4be9f2570f2cce20e6
Last active November 27, 2020 18:29
あつまれどうぶつの森11月
タランチュラ 19:00-04:00
チョウチンアンコウ 16:00-09:00 海 L
マグロ いつでも 桟橋 LLL
ズワイガニ いつでも 大
@kusano
kusano / atsumori10.txt
Last active October 21, 2020 06:28
あつまれどうぶつの森10月
ダイオウグソクムシ 09:00-16:00, 21:00-04:00 大 ★
@kusano
kusano / atsumori09.txt
Last active September 27, 2020 17:19
あつまれどうぶつの森9月
サソリ 19:00-04:00 草
チョウザメ any 河口 LLL
パイク any 川 LL
ダイオウグソクムシ 09:00-16:00, 21:00-04:00 大
サザエ any 中
@kusano
kusano / A.py
Last active August 30, 2020 06:12
Facebook Hacker Cup 2020 Round 2
def read_array(N, K):
X = list(map(int, input().split()))
A, B, C, D = map(int, input().split())
for i in range(K, N):
X += [(A*X[i-2]+B*X[i-1]+C)%D]
return X
T = int(input())
for t in range(T):
N, K = map(int, input().split())