結果
問題 |
No.1314 N言っちゃダメゲーム (5)
|
ユーザー |
![]() |
提出日時 | 2020-12-11 00:14:12 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 2,031 ms |
コンパイル使用メモリ | 191,464 KB |
最終ジャッジ日時 | 2025-01-16 21:43:27 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 WA * 8 |
ソースコード
#define rep(i,n) for (int i=0;i < (int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include <bits/stdc++.h> using namespace std; int main(){ int m,k; cin>>m>>k; int a=m/(k+1); if((m-a-1)%2==0 && a%2==0) cout<<"Draw"<<endl; else if((m-a-1)%2==0) cout<<"Lose"<<endl; else cout<<"Win"<<endl; return 0; }