結果
問題 | No.201 yukicoderじゃんけん |
ユーザー |
|
提出日時 | 2015-05-03 23:35:44 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 239 bytes |
コンパイル時間 | 344 ms |
コンパイル使用メモリ | 55,260 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-05 17:18:48 |
合計ジャッジ時間 | 996 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 16 |
ソースコード
#include<iostream> #include<string> using namespace std; int main(){ int s1,s2; string p1,p2,x1,x2; cin>>s1>>p1>>x1; cin>>s2>>p2>>x2; if(s1>s2){ cout<<p1<<endl; }else if(s1<s2){ cout<<p2<<endl; }else{ cout<<-1<<endl; } }