結果

問題 No.1883 SLASH
ユーザー bluemeganebluemegane
提出日時 2022-04-05 22:35:10
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 2,335 ms
コンパイル使用メモリ 60,880 KB
実行使用メモリ 22,564 KB
最終ジャッジ日時 2023-08-18 04:27:38
合計ジャッジ時間 2,575 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,500 KB
testcase_01 AC 57 ms
20,452 KB
testcase_02 AC 55 ms
20,560 KB
testcase_03 AC 56 ms
20,444 KB
testcase_04 AC 55 ms
22,524 KB
testcase_05 AC 55 ms
18,588 KB
testcase_06 AC 57 ms
22,488 KB
testcase_07 AC 55 ms
20,460 KB
testcase_08 AC 55 ms
20,524 KB
testcase_09 AC 55 ms
20,604 KB
testcase_10 AC 56 ms
22,532 KB
testcase_11 AC 55 ms
20,600 KB
testcase_12 AC 56 ms
22,564 KB
testcase_13 AC 56 ms
20,448 KB
testcase_14 AC 55 ms
20,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var s = Console.ReadLine().Trim().ToCharArray();
        Array.Sort(s);
        Console.WriteLine(s[2] - s[0]);
    }
}
0