結果

問題 No.2014 Eggs Hatching
ユーザー papinianus
提出日時 2022-08-07 10:27:07
言語 C#
(.NET 8.0.404)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 659 bytes
コンパイル時間 8,823 ms
コンパイル使用メモリ 167,736 KB
実行使用メモリ 186,472 KB
最終ジャッジ日時 2024-09-17 04:59:09
合計ジャッジ時間 10,887 ms
ジャッジサーバーID
(参考情報)
judge6 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (90 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 #

using System;
using System.Linq;

namespace Yukicoder
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(Console.ReadLine().ToIntArray(' ').Min());
        }
    }

    static class StringExtention
    {
        public static string[] ToStringArray(this string value, char splitChar) => value.Split(splitChar);
        public static int[] ToIntArray(this string value, char splitChar) => value.Split(splitChar).Select(x=>Convert.ToInt32(x)).ToArray();
        public static long[] ToLongArray(this string value, char splitChar) => value.Split(splitChar).Select(x => Convert.ToInt64(x)).ToArray();
    }
}
0