結果
問題 |
No.102 トランプを奪え
|
ユーザー |
|
提出日時 | 2025-07-03 15:46:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 290 bytes |
コンパイル時間 | 1,676 ms |
コンパイル使用メモリ | 194,496 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-07-03 15:46:31 |
合計ジャッジ時間 | 2,649 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int win = 0; for(int i=0; i<4; i++){ int a; cin >> a; win ^= a%4; } if(win) cout << "Taro" << endl; else cout << "Jiro" << endl; }