Skip to content

Instantly share code, notes, and snippets.

Adrian Wielgosik adrian17

  • Polska
Block or report user

Report or block adrian17

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a15793d06d2a760ec46f
from marisa_trie import Trie
valid_squares = []
def recurse():
for row in row_words:
yield from recurse_col((row,), (), 1, 0)
def recurse_row(rows, cols, y, x):
for i in range(y, H):
View gist:ee75dacc8814e55b21b4
14874
0 L 4 992 1
0 D 115 992 1
0 L 4 508 1
0 L 4 1300 1
0 D 838 508 1
0 D 838 1300 1
0 L 0 1087 1
0 L 0 1328 1
0 D 295 1087 1
View main.py
80
PAINT_LINE 24 63 24 87
PAINT_LINE 29 113 32 113
PAINT_SQUARE 32 171 1
PAINT_LINE 14 116 23 116
PAINT_SQUARE 19 101 5
PAINT_SQUARE 27 138 2
PAINT_SQUARE 28 60 3
PAINT_LINE 25 191 28 191
PAINT_SQUARE 27 175 2
View painting.py
import time
wh, *macierz = open("logo.in").read().splitlines()
wh, *macierz = open("right_angle.in").read().splitlines()
wh, *macierz = open("learn_and_teach.in").read().splitlines()
H, W = map(int, wh.split())
def banalny(macierz, transponowana=False):
if transponowana:
View main.cpp
#include <fstream>
#include <iostream>
#include <vector>
#include <algorithm>
#include <sstream>
#include <arpa/inet.h>
#include <endian.h>
unsigned to_num(const std::string& ip) {
View 1M.txt
64 - Kip Ballard
61 - Adjournment PLC
60 - Democratic Republic of Mead
58 - Cellist LLC
58 - University of Noway
56 - National Markedly Funnest
56 - Davenport Versailles
56 - Hurst Wilmington
56 - Palsying Scowls Union
56 - Salyut Apple
View 1M_raw.txt
119.200.220.130 Democratic Republic of Superhighways Loathings
235.130.216.53 Laughing Plows Party
232.235.154.169 Center for Oligarchies
180.36.238.209 United Fowl Rejoinder
142.176.207.13 Salyut Apple
72.167.76.141 Shrugged Oversimplifies Institute
109.17.148.205 United Gangplank
221.189.18.4 Surmountable Inc
246.152.207.6 Downbeats LLC
123.85.237.38 Hurst Wilmington
View 10k.txt
172 - Provençal Cheer
149 - Avernus Moises
136 - Kuwaitis Matisse
134 - Nellie Jeanie
127 - National Bond
115 - National Center for Recuperative
113 - Goblets Villains Inc
109 - National Paradigm Supposed
105 - National Mechanizing Nude
105 - Discards Tolerant LLC
View 10k_raw.txt
119.200.220.130 Budgies SRL
235.130.216.53 Center for Ninnies Compliant
232.235.154.169 Sen NoDoz
180.36.238.209 Amie Decatur
142.176.207.13 Nellie Jeanie
72.167.76.141 Republic of Plague
109.17.148.205 Republic of Reverted Keypunches
221.189.18.4 Meddler Charlottetown Union
246.152.207.6 Tuamotu Logan
123.85.237.38 Spoilsport Union
You can’t perform that action at this time.