結果
問題 | No.383 レーティング |
ユーザー |
![]() |
提出日時 | 2025-03-31 16:49:04 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 394 bytes |
コンパイル時間 | 8,331 ms |
コンパイル使用メモリ | 168,976 KB |
実行使用メモリ | 186,856 KB |
最終ジャッジ日時 | 2025-03-31 16:49:23 |
合計ジャッジ時間 | 10,251 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (153 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
class Program { static void Main(string[] args) { string[] reat = Console.ReadLine().Split(' '); if (int.Parse(reat[1]) - int.Parse(reat[0]) > 0) { Console.WriteLine("+" + (int.Parse(reat[1]) - int.Parse(reat[0])).ToString()); } else { Console.WriteLine(int.Parse(reat[1]) - int.Parse(reat[0])); } } }