結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2019-12-18 15:55:24 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 566 ms |
コンパイル使用メモリ | 64,128 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 13:08:50 |
合計ジャッジ時間 | 1,243 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 3 |
ソースコード
#include <iostream> #include <string> using namespace std; int main() { string nA, nB, pA, pB, xA, xB; cin >> nA >> pA >> xA >> nB >> pB >> xB; if (pA>pB) { cout << nA << endl; } else if (pA<pB) { cout << nB << endl; } else { cout << -1 << endl; } }