結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2020-01-18 15:31:04 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 346 bytes |
コンパイル時間 | 2,430 ms |
コンパイル使用メモリ | 191,728 KB |
最終ジャッジ日時 | 2025-01-08 20:03:16 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 10 |
ソースコード
#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; }