kattis Accepted (8.949374) 1.93 s