This file contains 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 sys import stdin | |
import re | |
__author__="Jonas Svarvaa" | |
__date__ ="$06.sep.2010 12:39:53$" | |
def parse_input(): | |
words = {} | |
pos = 0 | |
for s in stdin.readline().split(): | |
try: |