結果

問題 No.516 赤と青の風船
ユーザー tkjytkjy
提出日時 2024-01-30 07:51:42
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 319 bytes
コンパイル時間 15,844 ms
コンパイル使用メモリ 158,708 KB
実行使用メモリ 176,012 KB
最終ジャッジ日時 2024-01-30 07:52:01
合計ジャッジ時間 18,262 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
28,708 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 51 ms
28,836 KB
testcase_05 WA -
testcase_06 AC 51 ms
28,836 KB
testcase_07 AC 51 ms
176,012 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (107 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

using System;

class Program
{
    static void Main()
    {
        int r = 2;  
        int b = 1; 

        string result = "";
        
        if (r>b)
        {
            result = "RED";
        }
        else if (r<b)
        {
            result = "BLUE";
        }

        Console.WriteLine(result);
    }
}
0