i'm getting wa for Street Trees (STREETR) if tried to use sys.stdin, both readlines and read().split() are giving wrong answers, does any-one know why is it so??
Data contains about 15 input files. At least one of those has more than n values following n. So, you get WA, if you read all values instead of just n.
thanks a lot @numerix