fork download
  1. def max_path(pyramid,n):
  2. return 1
  3.  
  4. n = int(raw_input())
  5. pyramid = []
  6. for i in range(0,n):
  7. pyramid.append(map(lambda x: int(x), raw_input().strip().split(' ')))
  8. print max_path(pyramid,n)
Success #stdin #stdout 0.01s 7900KB
stdin
5
7
3 8
8 1 0
2 7 4 4
4 5 2 6 5
stdout
1