結果

問題 No.299 蟻本が読めない
コンテスト
ユーザー aaa aa
提出日時 2025-11-26 14:28:49
言語 C#
(.NET 8.0.404)
結果
MLE  
実行時間 -
コード長 344 bytes
コンパイル時間 7,854 ms
コンパイル使用メモリ 169,344 KB
実行使用メモリ 187,232 KB
最終ジャッジ日時 2025-11-26 14:28:58
合計ジャッジ時間 8,682 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 MLE * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (105 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #
raw source code

using System;
public class Program
{
    public static void Main()
    {
        long book = long.Parse(Console.ReadLine() ?? string.Empty);

        if(book == 1)
        {
            Console.WriteLine(316);
        }
        else
        {
            long page = (book - 1) * 52 + 316;
            Console.WriteLine(page);
        }
    }
}
0