結果

問題 No.102 トランプを奪え
ユーザー tcltktcltk
提出日時 2021-06-06 05:05:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 147 ms / 5,000 ms
コード長 475 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 86,912 KB
最終ジャッジ日時 2024-05-01 23:45:01
合計ジャッジ時間 2,384 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 144 ms
86,912 KB
testcase_01 AC 140 ms
86,656 KB
testcase_02 AC 146 ms
86,912 KB
testcase_03 AC 131 ms
86,912 KB
testcase_04 AC 142 ms
86,656 KB
testcase_05 AC 133 ms
86,656 KB
testcase_06 AC 147 ms
86,912 KB
testcase_07 AC 134 ms
86,656 KB
testcase_08 AC 138 ms
86,656 KB
testcase_09 AC 127 ms
86,272 KB
testcase_10 AC 136 ms
86,272 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# from typing import *

import sys
import io
import math
import collections
import decimal
import itertools
import bisect
import heapq


def input():
    return sys.stdin.readline()[:-1]


# sys.setrecursionlimit(1000000)

# _INPUT = """1 2 3 2
# """
# sys.stdin = io.StringIO(_INPUT)

N1, N2, N3, N4 = map(int, input().split())
Gr = [i % 4 for i in range(14)]
g = Gr[N1] ^ Gr[N2] ^ Gr[N3] ^ Gr[N4]
if g == 0:
    print('Jiro')
else:
    print('Taro')
0