This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| # coding: utf-8 | |
| from itertools import permutations | |
| filename = "data.tsv" | |
| signames = ["CTF分科会", "競技プログラミング分科会", | |
| "インフラ(Go/Docker他)分科会", "機械学習分科会"] | |
| daynames = "火水木金" | |
This file contains hidden or 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<vector> | |
| #include<algorithm> | |
| #include<cstdio> | |
| #include<queue> | |
| #include<cmath> | |
| #include<map> | |
| #include<set> | |
| using namespace std; | |
| const int INF = 1 << 29; |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| # 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], |
This file contains hidden or 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
| # coding: utf-8 | |
| from itertools import permutations | |
| filename = "data.tsv" | |
| signames = ["CTF分科会", "続・初心者分科会", | |
| "Esolang/CodeGolf分科会", "機械学習分科会", "駒場祭(hoge)"] | |
| daynames = "月火水木金" | |
This file contains hidden or 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
| 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) |
This file contains hidden or 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
| 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) |
This file contains hidden or 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
| # 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.