結果
| 問題 |
No.201 yukicoderじゃんけん
|
| コンテスト | |
| ユーザー |
kekenx
|
| 提出日時 | 2020-01-24 20:07:17 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 273 bytes |
| コンパイル時間 | 1,684 ms |
| コンパイル使用メモリ | 168,476 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-14 03:48:19 |
| 合計ジャッジ時間 | 2,356 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
string s1, s2, p1, p2, x1, x2;
cin >> s1 >> p1 >> x1 >> s2 >> p2 >> x2;
if (p1 > p2) {
cout << s1 << endl;
} else if (p2 > p1) {
cout << s2 << endl;
} else {
puts("-1");
}
return 0;
}
kekenx