結果

問題 No.299 蟻本が読めない
ユーザー chankou0920chankou0920
提出日時 2017-10-27 14:10:39
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 55 ms / 1,000 ms
コード長 304 bytes
コンパイル時間 1,924 ms
コンパイル使用メモリ 99,980 KB
実行使用メモリ 22,684 KB
最終ジャッジ日時 2023-08-14 02:51:19
合計ジャッジ時間 2,685 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
20,616 KB
testcase_01 AC 55 ms
22,684 KB
testcase_02 AC 55 ms
20,688 KB
testcase_03 AC 54 ms
20,752 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Program {
	public void Solve() {
		const int diff = 52;
		long page = 316;
		long N = long.Parse(Console.ReadLine());
		page += (N - 1) * diff;
		Console.WriteLine(page);
	}
	
	public static void Main(string[] args) {
		Program program = new Program();
		program.Solve();
	}
}
0