結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2017-02-05 23:31:40 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 234 bytes |
コンパイル時間 | 1,442 ms |
コンパイル使用メモリ | 160,588 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-24 10:16:49 |
合計ジャッジ時間 | 2,376 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(void) { string sa,ja; string sb,jb; long long ua,ub; cin>>sa>>ua>>ja; cin>>sb>>ub>>jb; if(ua>ub){ cout<<sa<<endl; }else if(ua<ub){ cout<<sb<<endl; }else{ cout<<-1<<endl; } }