結果
| 問題 | No.102 トランプを奪え | 
| コンテスト | |
| ユーザー |  古寺いろは | 
| 提出日時 | 2015-04-10 19:34:34 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 240 bytes | 
| コンパイル時間 | 1,339 ms | 
| コンパイル使用メモリ | 157,768 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-04 13:32:27 | 
| 合計ジャッジ時間 | 2,040 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 4 WA * 4 | 
ソースコード
#include "bits/stdc++.h"
using namespace std;
int num[3];
int main(){
	for (int i = 0; i < 4; i++)
	{
		int N;
		cin >> N;
		num[N % 3]++;
	}
	if (num[1] % 2 == 1 || num[2] % 2 == 1) cout << "Taro" << endl;
	else cout << "Jiro" << endl;
}
            
            
            
        