Skip to content

Instantly share code, notes, and snippets.

import re
def decode(x):
return re.sub("%[0-9A-F][0-9A-F]", lambda x: chr(int(x.group(0)[1:], 16)) , x, flags=re.I, count=100)
def eq(a, b):
if a != b:
print (a, "!=", b)
@auscompgeek
auscompgeek / 1.py
Last active August 29, 2015 14:03
UNSW ProgComp 2014 open round - drop_table_teams' solutions
#!/usr/bin/env python3
# Task 1
# drop_table_teams
from urllib.parse import unquote
num_cases = int(input())
for i in range(num_cases):
print(unquote(input()))