Sphere Online Judge problem solutions