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