結果
問題 |
No.8 N言っちゃダメゲーム
|
ユーザー |
![]() |
提出日時 | 2025-04-30 12:53:22 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 355 bytes |
コンパイル時間 | 3,624 ms |
コンパイル使用メモリ | 272,488 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2025-04-30 12:53:26 |
合計ジャッジ時間 | 4,350 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; using i64 = long long; int main() { cin.tie(nullptr)->sync_with_stdio(false); auto solve = [&]() { int n, k; cin >> n >> k; cout << (n % (k + 1) != 1 ? "Win" : "Lose") << '\n'; }; int t; cin >> t; while (t--) { solve(); } return 0; }