結果
問題 | No.102 トランプを奪え |
ユーザー |
|
提出日時 | 2021-04-19 07:50:08 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 6 ms / 5,000 ms |
コード長 | 294 bytes |
コンパイル時間 | 3,393 ms |
コンパイル使用メモリ | 191,448 KB |
最終ジャッジ日時 | 2025-01-20 22:02:36 |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int sum = 0; for (int i = 0; i < 4; i++) { int x; cin >> x; sum ^= x % 4; } if (sum) cout << "Taro" << endl; else cout << "Jiro" << endl; return 0; }