結果

問題 No.2014 Eggs Hatching
ユーザー e-春風塾デジタル教育推進e-春風塾デジタル教育推進
提出日時 2022-08-20 13:30:46
言語 C#
(.NET 8.0.203)
結果
RE  
実行時間 -
コード長 975 bytes
コンパイル時間 7,384 ms
コンパイル使用メモリ 165,648 KB
実行使用メモリ 190,596 KB
最終ジャッジ日時 2024-04-17 12:26:59
合計ジャッジ時間 15,538 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (97 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

public class Hello{
    public static void Main(){
        // Your code here!
        int a;
        int b;
        int c;
        string s;
        string t;
        string u;
        s = System.Console.ReadLine();
        a = int.Parse(s);
        t = System.Console.ReadLine();
        b = int.Parse(t);
        u = System.Console.ReadLine();
        c = int.Parse(u);
        if (a <= b){
            if (a <= c){
                System.Console.WriteLine (a);
            }
            else {
                System.Console.WriteLine (c);
            }
        }
        else if (b <= a){
            if (b <= c){
                System.Console.WriteLine (b);
            }
            else {
                System.Console.WriteLine (c);
            }
        }
        else if (c <= a){
            if (c <= b){
                System.Console.WriteLine (c);
            }
            else {
                System.Console.WriteLine (b);
            }
        }
    }
}
0