結果
| 問題 | No.102 トランプを奪え | 
| コンテスト | |
| ユーザー |  hotpepsi | 
| 提出日時 | 2014-12-14 23:43:04 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 379 bytes | 
| コンパイル時間 | 561 ms | 
| コンパイル使用メモリ | 64,696 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-11 21:09:31 | 
| 合計ジャッジ時間 | 1,140 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 3 WA * 5 | 
ソースコード
#include <iostream>
#include <algorithm>
#include <sstream>
#include <vector>
using namespace std;
bool solve(int N[4])
{
	sort(N, N + 4);
	return N[3] != 1;
}
int main(int argc, char *argv[])
{
	int N[4];
	string s;
	getline(cin, s);
	stringstream ss(s);
	ss >> N[0] >> N[1] >> N[2] >> N[3];
	cout << (solve(N) ? "Taro" : "Jiro") << endl;
	return 0;
}
            
            
            
        