結果
問題 |
No.1770 N言っちゃダメゲーム (6)
|
ユーザー |
![]() |
提出日時 | 2019-08-07 04:21:42 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 303 bytes |
コンパイル時間 | 1,378 ms |
コンパイル使用メモリ | 167,432 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-03 20:53:59 |
合計ジャッジ時間 | 7,893 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 44 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int p; cin >> p; for (int i = 0; i < p; i++) { int n, k; cin >> n >> k; if ((n - 1) % (k + 1) != 0) { cout << "Win" << endl; } else { cout << "Lose" << endl; } } }