結果

問題 No.102 トランプを奪え
ユーザー ayaoniayaoni
提出日時 2020-11-28 23:53:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 230 bytes
コンパイル時間 280 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 71,588 KB
最終ジャッジ日時 2023-10-11 02:04:07
合計ジャッジ時間 1,819 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,268 KB
testcase_01 AC 70 ms
71,376 KB
testcase_02 AC 70 ms
71,468 KB
testcase_03 AC 69 ms
71,116 KB
testcase_04 AC 69 ms
71,404 KB
testcase_05 AC 68 ms
71,356 KB
testcase_06 AC 69 ms
71,588 KB
testcase_07 AC 70 ms
71,520 KB
testcase_08 AC 69 ms
71,268 KB
testcase_09 AC 71 ms
71,348 KB
testcase_10 AC 69 ms
71,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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


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