結果

問題 No.99 ジャンピング駒
ユーザー Maeda
提出日時 2025-04-08 17:36:54
言語 C#
(.NET 8.0.404)
結果
WA  
実行時間 -
コード長 363 bytes
コンパイル時間 7,449 ms
コンパイル使用メモリ 172,048 KB
実行使用メモリ 196,516 KB
最終ジャッジ日時 2025-04-08 17:37:04
合計ジャッジ時間 8,648 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (128 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string str = Console.ReadLine();
            if(n%2 == 0)
            {
                Console.WriteLine("0");
            }
            else
            {
                Console.WriteLine("1");
            }
        }
    }
0