結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2020-01-18 15:30:23 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 347 bytes |
コンパイル時間 | 2,463 ms |
コンパイル使用メモリ | 193,228 KB |
最終ジャッジ日時 | 2025-01-08 20:03:04 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 WA * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main(){ int pa, pb; string sa, sb, xa, xb; cin >> sa >> pa >> xa >> sb >> pb >> xb; if (pa == pb) cout << -1 << endl; else cout << ( (pa >> pb ) ? sa : sb ); return 0; }