結果

問題 No.1883 SLASH
ユーザー cccccc
提出日時 2022-07-26 17:00:06
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 253 bytes
コンパイル時間 6,862 ms
コンパイル使用メモリ 144,100 KB
実行使用メモリ 161,680 KB
最終ジャッジ日時 2023-09-23 08:45:07
合計ジャッジ時間 8,883 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
26,784 KB
testcase_01 AC 47 ms
26,500 KB
testcase_02 AC 48 ms
26,488 KB
testcase_03 AC 48 ms
26,408 KB
testcase_04 AC 49 ms
26,672 KB
testcase_05 AC 48 ms
26,608 KB
testcase_06 AC 47 ms
26,544 KB
testcase_07 AC 48 ms
26,572 KB
testcase_08 AC 49 ms
26,788 KB
testcase_09 AC 49 ms
26,604 KB
testcase_10 AC 48 ms
28,612 KB
testcase_11 AC 47 ms
26,576 KB
testcase_12 AC 48 ms
28,760 KB
testcase_13 AC 48 ms
26,500 KB
testcase_14 AC 48 ms
161,680 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  Determining projects to restore...
  Restored /home/judge/data/code/main.csproj (in 120 ms).
.NET 向け Microsoft (R) Build Engine バージョン 17.0.0-preview-21470-01+cb055d28f
Copyright (C) Microsoft Corporation.All rights reserved.

  プレビュー版の .NET を使用しています。https://aka.ms/dotnet-core-preview をご覧ください
  main -> /home/judge/data/code/bin/Release/net6.0/main.dll
  main -> /home/judge/data/code/bin/Release/net6.0/publish/

ソースコード

diff #

using System;
using System.Linq;

class Program
{
    static void Main()
    {
        var inp = Console.ReadLine();
        char[] splitStr = inp.ToCharArray();
        Array.Sort(splitStr);
        Console.WriteLine(splitStr[2] - splitStr[0]);
    }
}
0