vik


Wed Aug 13 23:50:14 2014
python3

2
instead of
3
print(len(input()))
Wed Aug 13 23:49:42 2014
python3

File "./code", line 1 printlen(input())) ^ SyntaxError: invalid syntax

printlen(input()))
Mon Aug 11 04:11:53 2014
MD5
python3

Traceback (most recent call last): File "./code", line 2, in <module> print(''.join(sorted(set(h.md5(input()).hexdigest()))).replace("a","\na")) TypeError: Unicode-objects must be encoded before hashing

import hashlib as h
print(''.join(sorted(set(h.md5(input()).hexdigest()))).replace("a","\na"))
Mon Aug 11 04:11:16 2014
MD5
python3

File "./code", line 2 print''.join(sorted(set(h.md5(input()).hexdigest()))).replace("a","\na") ^ SyntaxError: invalid syntax

import hashlib as h
print''.join(sorted(set(h.md5(input()).hexdigest()))).replace("a","\na")
Sun Aug 10 19:03:47 2014
timeout
python2
def a(n):
 if n<2:return 1
 else:return a(n-1)+a(n-2)
print a(input())
Sun Aug 10 18:59:39 2014
Testing now
python2
def a(n):
 if a<2:
  return 1
 else:
  return a(n-1)+a(n-2)
print a(input())
Sun Aug 10 18:58:24 2014
Testing now
python2
def a(n):
 if a<=1:return 1
 else:return a(n-1)+a(n-2)
print a(input())
Sun Aug 10 18:57:52 2014
Testing now
python2
def a(n):
 if a<=1:return 1
 return a(n-1)+a(n-2)
print a(input())
Sun Aug 10 18:52:44 2014
python2
import sys
a=[]
for i in sys.stdin:
 i=i.split()
 if i[1:]:a+=[i[1]]
 else:print a.pop()
Sun Aug 10 18:49:07 2014
python2
import sys
a=[]
for l in sys.stdin:
 try:
  b=l.split()[1]
 except:
  print a.pop()
 else:
  a.append(b)
Sun Aug 10 18:47:04 2014
python2

File "./code", line 5 b=l.split(' ')[1]: ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  b=l.split(' ')[1]:
 except:
  print a.pop()
 else:
  a.append(b)
Sun Aug 10 18:46:18 2014
python2

File "./code", line 5 b=l.split(' ')[1]: ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin():
 try:
  b=l.split(' ')[1]:
 except:
  print a.pop()
 else:
  a.append(b)
Sun Aug 10 18:45:44 2014
python2

File "./code", line 4 b=l ^ IndentationError: expected an indented block

import sys
a=[]
for l in sys.stdin:
b=l
 try:
  b=b.split(' ')[1]:
 except:
  print a.pop()
 else:
  a.append(b)
Sun Aug 10 18:45:03 2014
python2

File "./code", line 5 b=l.split()[1]: ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  b=l.split()[1]:
 except:
  print a.pop()
 else:
  a.append(b)
Sun Aug 10 18:38:11 2014
python3

File "./code", line 5 l=l.split(): ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  l=l.split():
 except:
  print(a.pop())
 else:
  a.append(l[1])
Sun Aug 10 18:37:42 2014
python2

File "./code", line 5 l=l.split(): ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  l=l.split():
 except:
  print a.pop()
 else:
  a.append(l[1])
Sun Aug 10 18:35:58 2014
python2

File "./code", line 5 l=int(l.split()[1]): ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  l=int(l.split()[1]):
 except:
  print a.pop()
 else:
  a.append(l)
Sun Aug 10 18:29:31 2014
python2

File "./code", line 5 l=l.split()[1]: ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  l=l.split()[1]:
 except:print a.pop()
 else:a.append(l)
Sun Aug 10 18:28:59 2014
python2

File "./code", line 5 l=l.split()[1]: ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try:
  l=l.split()[1]:
except:print a.pop()
else:a.append(l)
Sun Aug 10 18:28:24 2014
python2

File "./code", line 4 try l=l.split()[1]: ^ SyntaxError: invalid syntax

import sys
a=[]
for l in sys.stdin:
 try l=l.split()[1]:
  except:print a.pop()
 else:a.append(l)