結果
| 問題 |
No.1883 SLASH
|
| コンテスト | |
| ユーザー |
bluemegane
|
| 提出日時 | 2022-04-05 22:35:10 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 193 bytes |
| コンパイル時間 | 1,323 ms |
| コンパイル使用メモリ | 108,296 KB |
| 実行使用メモリ | 25,816 KB |
| 最終ジャッジ日時 | 2024-11-27 07:08:12 |
| 合計ジャッジ時間 | 3,063 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Hello
{
static void Main()
{
var s = Console.ReadLine().Trim().ToCharArray();
Array.Sort(s);
Console.WriteLine(s[2] - s[0]);
}
}
bluemegane