結果

問題 No.102 トランプを奪え
ユーザー 👑 colognecologne
提出日時 2022-02-02 16:05:52
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 309 bytes
コンパイル時間 909 ms
コンパイル使用メモリ 86,892 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-09-02 02:50:20
合計ジャッジ時間 1,741 ms
ジャッジサーバーID
(参考情報)
judge16 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,136 KB
testcase_01 AC 64 ms
71,476 KB
testcase_02 AC 67 ms
71,476 KB
testcase_03 AC 67 ms
71,076 KB
testcase_04 AC 70 ms
71,272 KB
testcase_05 AC 70 ms
71,080 KB
testcase_06 AC 68 ms
71,340 KB
testcase_07 AC 68 ms
71,444 KB
testcase_08 AC 65 ms
71,268 KB
testcase_09 AC 65 ms
71,052 KB
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def input(): return sys.stdin.readline().rstrip()


def main():
    A, B, C, D = map(lambda x: int(x) % 4, input().split())
    if max(A, B, C, D) <= 1 and (A ^ B ^ C ^ D) == 1 or (A ^ B ^ C ^ D) == 0:
        print('Jiro')
    else:
        print('Taro')


if __name__ == '__main__':
    main()
0