結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
agatan
|
| 提出日時 | 2015-05-04 13:33:17 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 449 bytes |
| 記録 | |
| コンパイル時間 | 638 ms |
| コンパイル使用メモリ | 86,124 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-27 04:15:46 |
| 合計ジャッジ時間 | 1,180 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 10 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <algorithm>
#define REP(i,n) for(int i;i<(n);i++)
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
string a, b, g;
long ap, bp;
cin >> a >> ap >> g;
cin >> b >> bp >> g;
if (ap > bp)
cout << a << endl;
else if (ap < bp)
cout << b << endl;
else cout << -1 << endl;
return 0;
}
agatan