結果
問題 |
No.8 N言っちゃダメゲーム
|
ユーザー |
|
提出日時 | 2016-10-29 11:41:56 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 462 bytes |
コンパイル時間 | 638 ms |
コンパイル使用メモリ | 82,104 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-24 17:42:56 |
合計ジャッジ時間 | 1,156 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#define _USE_MATH_DEFINES #include<stdio.h> #include<string> #include<iostream> #include<cctype> #include<cstdio> #include<vector> #include<stack> #include<queue> #include <algorithm> #include<math.h> #include<set> #include<map> #include<iomanip> //#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; while(n--){ int x,y; cin>>x>>y; if((x-1)%(y+1)){cout<<"Win"<<endl;} else cout<<"Lose"<<endl; } return 0; }