結果
| 問題 |
No.8 N言っちゃダメゲーム
|
| ユーザー |
m2543315647
|
| 提出日時 | 2015-05-13 09:24:57 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 161 ms / 5,000 ms |
| コード長 | 350 bytes |
| コンパイル時間 | 3,606 ms |
| コンパイル使用メモリ | 79,356 KB |
| 実行使用メモリ | 54,272 KB |
| 最終ジャッジ日時 | 2024-07-06 01:10:19 |
| 合計ジャッジ時間 | 6,263 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
import java.util.Scanner;
public class No8 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int p = sc.nextInt();
for (int i = 0; i < p; i++) {
int n = sc.nextInt();
int k = sc.nextInt();
System.out.println( n % (k + 1) != 1?"Win":"Lose");
}
}
}
m2543315647