結果

問題 No.1314 N言っちゃダメゲーム (5)
ユーザー SSRS
提出日時 2020-12-11 00:05:30
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 231 bytes
コンパイル時間 1,676 ms
コンパイル使用メモリ 165,132 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 20:53:59
合計ジャッジ時間 2,176 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 15 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
  int M, K;
  cin >> M >> K;
  if (M >= K + 2){
    cout << "Win" << endl;
  } else if (M % 2 == 1){
    cout << "Draw" << endl;
  } else {
    cout << "Lose" << endl;
  }
}
0