結果

問題 No.2285 Make A Unit Square
ユーザー Alex WiceAlex Wice
提出日時 2023-04-28 23:02:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 216 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 82,156 KB
実行使用メモリ 77,140 KB
最終ジャッジ日時 2024-04-29 00:20:32
合計ジャッジ時間 1,833 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,480 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import log2


def solve(x, y):
    x = int(log2(x))
    y = int(log2(y))
    x ^= y
    return bool(x)


for tc in range(int(input())):
    print("First" if solve(*map(int, input().split())) else "Second")
0