結果

問題 No.8 N言っちゃダメゲーム
ユーザー Nasatame
提出日時 2017-01-27 20:06:32
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 335 bytes
コンパイル時間 619 ms
コンパイル使用メモリ 54,608 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-23 15:51:08
合計ジャッジ時間 1,149 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(void){
    // Here your code !
    int P;
    cin >> P;
    
    for(int i = 0; i < P; i++){
        
        int n,k;
        cin >> n >> k;
        if((n-1)%(k+1)){
            cout << "Lose" << endl;
        }else{
            cout << "Win" << endl;
        }
        
    }
    
}
0