結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
kpinkcat
|
| 提出日時 | 2023-08-09 01:16:45 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 358 bytes |
| 記録 | |
| コンパイル時間 | 798 ms |
| コンパイル使用メモリ | 104,980 KB |
| 最終ジャッジ日時 | 2025-02-16 00:14:48 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 10 |
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
#include<cctype>
#include<set>
#include<bitset>
#include<math.h>
#include<map>
#include<queue>
#include<iomanip>
using namespace std;
int main(){
int pa, pb;
string sa, xa, sb, xb;
cin >> sa >> pa >> xa >> sb >> pb >> xb;
cout << ((pa > pb) ? sa : ((pa == pb) ? "-1" : sb)) << endl;
}
kpinkcat