結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2015-05-03 23:21:27 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 315 bytes |
コンパイル時間 | 1,080 ms |
コンパイル使用メモリ | 160,196 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-05 17:48:53 |
合計ジャッジ時間 | 1,646 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 10 |
ソースコード
#include "bits/stdc++.h" using namespace std; int main() { string name[2]; int point[2]; string meguru; cin >> name[0] >> point[0] >> meguru; cin >> name[1] >> point[1] >> meguru; string ans = "-1"; if (point[0] > point[1]) ans = name[0]; if (point[1] > point[0]) ans = name[1]; cout << ans << endl; }