結果
| 問題 |
No.201 yukicoderじゃんけん
|
| コンテスト | |
| ユーザー |
bdisheoshepeha
|
| 提出日時 | 2019-01-08 17:24:07 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 510 bytes |
| コンパイル時間 | 1,447 ms |
| コンパイル使用メモリ | 158,548 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-24 00:43:51 |
| 合計ジャッジ時間 | 1,965 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 10 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
class stetas{
private:
public:
string name;
unsigned long long int point=0;
char hand;
};
int main(){
stetas player[2];
for(int i=0;i<2;i++){
cin>>player[i].name;
cin>>player[i].point;
cin>>player[i].hand;
}
if(player[0].point>player[1].point){
cout<<player[0].name;
}else if(player[1].point>player[0].point){
cout<<player[1].name;
}else{
cout<<-1;
}
return 0;
}
bdisheoshepeha