bapc-prelim-2016/b.py
Felix C. Stegerman b01519800c :(
2016-09-24 17:33:47 +02:00

10 lines
187 B
Python

from __future__ import print_function
import sys
n, m = map(int, sys.stdin.readline().split())
M = [ map(int, line.split()) for line in sys.stdin ]
S = set()
for i, j in M: