結果
| 問題 | No.102 トランプを奪え | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-10-15 03:03:12 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 566 bytes | 
| コンパイル時間 | 1,758 ms | 
| コンパイル使用メモリ | 165,256 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-20 19:36:46 | 
| 合計ジャッジ時間 | 2,327 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 8 | 
ソースコード
#include <bits/stdc++.h>
// #include <atcoder/all>
// using namespace atcoder;
#include <string>
#include <vector>
#include <algorithm>
#define rep(i,n) for (int i = 0;i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;
#define chmax(x,y) x = max(x,y)
using R=double;
using ld = long double;
int INF = 1e9;
using graph = vector<vector<int>>;
//using mint = modint1000000007;
int main(){
	int a,b,c,d;cin >> a >> b >> c >> d;
	a %= 4;
	b %= 4;
	c %= 4;
	d %= 4;
	if((a^b^c^d)==0) cout << "Jiro" << endl;
	else cout << "Taro" << endl;
}
            
            
            
        