Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# All Stuck code should have prefix .stk
infile=$(realpath "$@")
ln -sf "$infile" /tmp/code.stk
cd ~/interpreters/stuck/
python2.7 stuck.py /tmp/code.stk
rm /tmp/code.stk
# coding: utf-8
from itertools import permutations
filename = "data.tsv"
signames = ["CTF分科会", "競技プログラミング分科会",
"インフラ(Go/Docker他)分科会", "機械学習分科会"]
daynames = "火水木金"
#include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<queue>
#include<cmath>
#include<map>
#include<set>
using namespace std;
const int INF = 1 << 29;
Solved!
1->3 :: 4 0 8 0
1->4 :: 1 0 8 3
3->2 :: 1 8 0 3
4->2 :: 1 9 0 2
2->3 :: 1 1 8 2
3->4 :: 1 1 7 3
4->1 :: 4 1 7 0
3->4 :: 4 1 4 3
4->2 :: 4 4 4 0
# coding:utf-8
from keras.models import Sequential
from keras.layers import Dense, Dropout, Activation, Flatten
import numpy as np
import matplotlib.pyplot as plt
data = np.array([
[3.989, 3.432],
[6.517, 5.741],
# coding: utf-8
from itertools import permutations
filename = "data.tsv"
signames = ["CTF分科会", "続・初心者分科会",
"Esolang/CodeGolf分科会", "機械学習分科会", "駒場祭(hoge)"]
daynames = "月火水木金"
import struct
def p8(x):
return struct.pack("<B", x)
def p16(x):
return struct.pack("<H", x)
def p32(x):
return struct.pack("<L", x)
from pwn import *
is_gaibu = True
if is_gaibu:
host = "baby_stack.pwn.seccon.jp"
port = 15285
else:
host = "127.0.0.1"
port = 3000
r = remote(host, port)
# coding: utf-8
from __future__ import print_function, division
from pwn import *
is_gaibu = True
if is_gaibu:
host = "election.pwn.seccon.jp"
port = 28349
else:
host = "127.0.0.1"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.