Full threadkuszi·Try it here: http://www.spoj.pl/forum/viewtopic.php?f=64&t=8087 (mini contests also available).View on HN