結果

問題 No.2285 Make A Unit Square
ユーザー miho-4miho-4
提出日時 2023-04-28 23:26:29
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 76,672 KB
最終ジャッジ日時 2024-04-29 00:36:02
合計ジャッジ時間 1,733 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

T=int(input())
for _ in range(T):
  A=[1,1,1,0]
  B=[1,1,1,0]
  k=[-1,1,0,0]
  a,b=map(int,input().split())
  x,y=a%4,b%4
  if 4<=a:
    A=k
  if 4<=b:
    B=k
  print("First" if A[x]^B[y] else "Second")
0