結果
問題 |
No.8 N言っちゃダメゲーム
|
ユーザー |
|
提出日時 | 2022-09-14 08:47:57 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 335 bytes |
コンパイル時間 | 2,033 ms |
コンパイル使用メモリ | 192,712 KB |
最終ジャッジ日時 | 2025-02-07 05:13:57 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define Int long long void solve(){ int N, K; cin >> N >> K; if(N % (K+1) == 1){ cout << "Lose" << endl; }else{ cout << "Win" << endl; } } int main() { int P; cin >> P; rep(i, P){ solve(); } return 0; }