結果
| 問題 |
No.8 N言っちゃダメゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-01 19:52:50 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 226 bytes |
| コンパイル時間 | 1,219 ms |
| コンパイル使用メモリ | 157,868 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-12 09:51:37 |
| 合計ジャッジ時間 | 1,785 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}