結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2015-05-05 22:32:20 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 257 bytes |
| 記録 | |
| コンパイル時間 | 544 ms |
| コンパイル使用メモリ | 84,060 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-03-27 04:37:37 |
| 合計ジャッジ時間 | 1,171 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 14 |
ソースコード
#include <iostream>
#include <string>
#include <map>
using namespace std;
int main()
{
map<int, string> a;
string x, y;
int z;
cin>>x>>z>>y; a[z]=x;
cin>>x>>z>>y; a[z]=x;
cout<<(a.size()==1 ? "-1" : (++(a.begin()))->second)<<endl;
}
hogeover30