結果
| 問題 | 
                            No.201 yukicoderじゃんけん
                             | 
                    
| コンテスト | |
| ユーザー | 
                             bdisheoshepeha
                         | 
                    
| 提出日時 | 2019-01-08 17:02:42 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 505 bytes | 
| コンパイル時間 | 1,271 ms | 
| コンパイル使用メモリ | 158,168 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-24 00:43:25 | 
| 合計ジャッジ時間 | 2,008 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 WA * 19 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
class stetas{
    private:
    public:
    string name;
    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