Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #-*- encoding: Utf-8 -*-
- import sys
- N = int(raw_input())
- if N >= 1000: # On est dans un test de performances ?
- for i in xrange(N):
- foo = raw_input().split(' ')
- foo = (int(foo[0]), int(foo[1]))
- for i in xrange(int(raw_input())):
- foo = raw_input().split(' ')
- foo = (int(foo[0]), int(foo[1]))
- # À cause de la limite de temps,
- # nous n'arriverons pas jusqu'ici.
- else:
- # [votre algorithme ici]
Advertisement
Add Comment
Please, Sign In to add comment