結果

問題 No.102 トランプを奪え
ユーザー ayaoniayaoni
提出日時 2020-11-28 23:52:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 86,944 KB
実行使用メモリ 71,612 KB
最終ジャッジ日時 2023-10-11 02:04:01
合計ジャッジ時間 2,200 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,480 KB
testcase_01 AC 69 ms
71,420 KB
testcase_02 AC 70 ms
71,400 KB
testcase_03 AC 68 ms
71,420 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 69 ms
71,264 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 69 ms
71,404 KB
testcase_10 AC 71 ms
71,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())


N1,N2,N3,N4 = MI()
Grundy = [0,1,2,0,1,2,0,1,2,0,1,2,0,1]
if Grundy[N1]^Grundy[N2]^Grundy[N3]^Grundy[N4] == 0:
    print('Jiro')
else:
    print('Taro')
0