結果 : weird algorithm codeforces