結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
mine691
|
| 提出日時 | 2018-07-04 13:09:00 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| 記録 | |
| コンパイル時間 | 533 ms |
| コンパイル使用メモリ | 68,120 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-01 02:09:26 |
| 合計ジャッジ時間 | 1,471 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 3 |
ソースコード
#include <iostream>
#include <algorithm>
using namespace std;
using ll = long long;
int main(){
string s[3],t[3];
cin >> s[0] >> s[1] >> s[2];
cin >> t[0] >> t[1] >> t[2];
if(s[1]>t[1])cout << s[0] << endl;
else if(s[1]<t[1])cout << t[0] << endl;
else cout << -1 << endl;
}
mine691