結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
kongarishisyamo
|
| 提出日時 | 2016-03-05 08:59:44 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 453 ms |
| コンパイル使用メモリ | 59,948 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 14:14:25 |
| 合計ジャッジ時間 | 1,141 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 3 |
ソースコード
#include<iostream>
#include<cmath>
#include<string>
using namespace std;
int main(){
string SA,SB,PA,PB,XA,XB;
cin>>SA>>PA>>XA;
cin>>SB>>PB>>XB;
if(PA==PB) cout<<"-1"<<endl;
else if(PA>PB) cout<<SA<<endl;
else cout<<SB<<endl;
}
kongarishisyamo