結果
| 問題 | No.8 N言っちゃダメゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-01 19:52:50 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 449µs | |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 832 ms |
| コンパイル使用メモリ | 173,680 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-14 16:12:18 |
| 合計ジャッジ時間 | 2,034 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int P, N, K;
cin>>P;
for(int i = 1; i <= P; i++){
cin>>N>>K;
bool f = true;
cout<<((N-1)%(K+1)?"Win":"Lose")<<endl;
}
return 0;
}