Skip to content

Instantly share code, notes, and snippets.

https://www.powerlanguage.co.uk/wordle/
Wordle 225 5/6
⬜⬜🟨⬜⬜
⬜🟨⬜⬜⬜
🟨🟨⬜⬜🟨
⬜⬜⬜⬜⬜
🟩🟩🟩🟩🟩
#!/bin/sed -f
# Check flag format
# Some characters are used internally
/^SECCON{[02-9A-HJ-Z_a-km-z]*}$/!{
cINVALID FORMAT
b
}
:t
@kusano
kusano / A1.py
Created September 12, 2021 17:04
Facebook Hacker Cup 2021 Round 1
T = int(input())
for t in range(T):
N = int(input())
S = input()
ans = 0
last = ""
for s in S:
if (s=="O" or s=="X") and s!=last:
last = s
ans += 1
@kusano
kusano / gist:928d7afbe3ae665ff20c4e1abf9bc935
Last active September 25, 2022 18:15
リングフィット アドベンチャー称号
椅子のポーズ
折りたたむポーズ
立木のポーズ
ねじり体側
扇のポーズ
英雄1のポーズ
英雄2のポーズ
英雄3のポーズ
プランク
バンザイプッシュ
from pwn import *
context.arch = "amd64"
code = b""
code += bytes([0x3e, ord("s")])
code += bytes([0x06, ord("h")])
code += bytes([0x00])
code = code.ljust(0x3ff8, b"\0")
@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