結果
| 問題 | No.8 N言っちゃダメゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-16 12:19:43 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 386µs | |
| コード長 | 305 bytes |
| 記録 | |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 79,148 KB |
| 実行使用メモリ | 9,904 KB |
| 最終ジャッジ日時 | 2026-10-05 15:34:50 |
| 合計ジャッジ時間 | 1,470 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include<iostream>
#include<vector>
using namespace std;
int main() {
int P, x, y;
vector<int> N,K;
cin >> P;
for (int i = 0; i < P; i++) {
cin >> x;
N.push_back(x);
cin >> y;
K.push_back(y);
if ((N[i] - 1) % (K[i] + 1) > 0)
cout << "Win" << endl;
else
cout << "Lose" << endl;
}
}