結果

問題 No.8 N言っちゃダメゲーム
コンテスト
ユーザー 抹茶アイス
提出日時 2023-07-25 11:32:09
言語 C#
(.NET 10.0.201)
コンパイル:
dotnet_c
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 51 ms / 5,000 ms
コード長 608 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,764 ms
コンパイル使用メモリ 173,044 KB
実行使用メモリ 192,640 KB
最終ジャッジ日時 2026-04-18 15:56:05
合計ジャッジ時間 8,410 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (88 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net10.0/main.dll
  main -> /home/judge/data/code/bin/Release/net10.0/publish/

ソースコード

diff #
raw source code

using System;
using System.Collections.Generic;
using System.Linq;

namespace yukicoder
{
    public class Program
    {
        public static void Main()
        {
            var n = int.Parse(Console.ReadLine());
            for(var i = 0; i < n; i++)
            {
                var a = Console.ReadLine().Split(' ');
                if (int.Parse(a[0]) % (int.Parse(a[1]) + 1) == 1)
                {
                    Console.WriteLine("Lose");
                }
                else
                {
                    Console.WriteLine("Win");
                }
            }
        }
    }
}
0