結果

問題 No.111 あばばばば
ユーザー Maeda
提出日時 2025-04-11 11:09:41
言語 C#
(.NET 8.0.404)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 240 bytes
コンパイル時間 9,064 ms
コンパイル使用メモリ 173,144 KB
実行使用メモリ 186,544 KB
最終ジャッジ日時 2025-04-11 11:09:52
合計ジャッジ時間 9,521 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (113 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

    class Program
    {
        static void Main(string[] args)
        {
            decimal n = decimal.Parse(Console.ReadLine());
            decimal palindrome = (n-1)*(n-1)/4;
            Console.WriteLine(palindrome);
        }
    } 
0