結果
問題 |
No.3163 [Cherry 7th Tune N] Draft
|
ユーザー |
![]() |
提出日時 | 2025-05-31 06:54:24 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 58 ms / 2,000 ms |
コード長 | 361 bytes |
コンパイル時間 | 7,577 ms |
コンパイル使用メモリ | 168,344 KB |
実行使用メモリ | 187,928 KB |
最終ジャッジ日時 | 2025-05-31 06:54:33 |
合計ジャッジ時間 | 8,386 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (103 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System.Linq; using System; public class Hello { static void Main() { var T = int.Parse(Console.ReadLine().Trim()); while (T-- > 0) { string[] line = Console.ReadLine().Trim().Split(' '); var a = Array.ConvertAll(line, int.Parse); Console.WriteLine(a.Max() - a.Min()); } } }