結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
|
提出日時 | 2015-05-27 13:52:28 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 267 bytes |
コンパイル時間 | 382 ms |
コンパイル使用メモリ | 55,108 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 10:49:38 |
合計ジャッジ時間 | 1,104 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 10 |
ソースコード
#include <iostream> using namespace std; int main() { int poia,poib; char cha,chb; string stra,strb; cin>>stra>>poia>>cha; cin>>strb>>poib>>chb; if(poia==poib){ cout<<"-1"<<endl; }else if(poia>poib){ cout<<stra<<endl; }else{cout<<strb<<endl;} return 0; }