結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2020-01-18 15:31:45 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 343 bytes |
コンパイル時間 | 2,543 ms |
コンパイル使用メモリ | 192,684 KB |
最終ジャッジ日時 | 2025-01-08 20:03:26 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 3 |
ソースコード
#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(){ string sa, sb, pa, pb, xa, xb; cin >> sa >> pa >> xa >> sb >> pb >> xb; if (pa == pb) cout << -1 << endl; else cout << ( (pa > pb ) ? sa : sb ); return 0; }