結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
koyumeishi
|
| 提出日時 | 2015-03-21 00:27:08 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 405 bytes |
| 記録 | |
| コンパイル時間 | 480 ms |
| コンパイル使用メモリ | 61,912 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 23:48:12 |
| 合計ジャッジ時間 | 1,271 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 10 |
ソースコード
//ポイントをlong longで受け取ってWAになるか確認
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
vector<string> A(3);
vector<string> B(3);
long long A__, B__;
cin >> A[0] >> A__ >> A[2];
cin >> B[0] >> B__ >> B[2];
if(A__ == B__){
cout << -1 << endl;
}else{
cout << (A__>B__?A[0]:B[0]) << endl;
}
return 0;
}
koyumeishi