結果
| 問題 | 
                            No.264 じゃんけん
                             | 
                    
| コンテスト | |
| ユーザー | 
                             acerola
                         | 
                    
| 提出日時 | 2016-12-01 02:15:25 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 432 bytes | 
| コンパイル時間 | 1,550 ms | 
| コンパイル使用メモリ | 164,552 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-27 14:59:52 | 
| 合計ジャッジ時間 | 2,103 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 9 | 
ソースコード
#include <bits/stdc++.h>
#define  Rep(i,j,n) for(li i=(j);i<(n);i++)
#define  rep(i,n) Rep(i,0,n) 
#define  all(a) begin(a),end(a)
using namespace std;
typedef long int li;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<string> vs;
 
int main()
{
    int a,b,x;
    cin>>a>>b;
    x=a-b;
    if(x==0) cout<<"Drew\n";
    if(x==-1||x==2) cout<<"Won\n";
    if(x==1||x==-2) cout<<"Lost\n";
    
    return 0;
}
            
            
            
        
            
acerola