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