結果
問題 |
No.8 N言っちゃダメゲーム
|
ユーザー |
![]() |
提出日時 | 2019-06-17 02:50:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 315 bytes |
コンパイル時間 | 1,598 ms |
コンパイル使用メモリ | 166,360 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-25 05:56:53 |
合計ジャッジ時間 | 2,078 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define all(x) (x).begin(),(x).end() const int mod=1000000007,MAX=120001; int main(){ int N;cin>>N; for(int i=0;i<N;i++){ int a,b;cin>>a>>b; if((a-1)%(b+1)==0) cout<<"Lose"<<endl; else cout<<"Win"<<endl; } }