結果

問題 No.102 トランプを奪え
ユーザー tcltk
提出日時 2021-06-06 05:05:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 147 ms / 5,000 ms
コード長 475 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 86,968 KB
最終ジャッジ日時 2024-11-22 08:00:43
合計ジャッジ時間 2,653 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

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