結果
| 問題 |
No.8 N言っちゃダメゲーム
|
| コンテスト | |
| ユーザー |
shirano_c
|
| 提出日時 | 2015-06-28 00:21:30 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 236 bytes |
| コンパイル時間 | 437 ms |
| コンパイル使用メモリ | 54,284 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-07 20:17:43 |
| 合計ジャッジ時間 | 1,080 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 9 |
ソースコード
#include<iostream>
using namespace std;
int main()
{
int n, dame, max;
cin >> n;
for (int i = 0; i < n; i++){
cin >> dame >> max;
if ((dame - 1) % (max + 1) < max){
cout << "Lose"<< endl;
}
else cout << "Win" << endl;
}
}
shirano_c