結果

問題 No.299 蟻本が読めない
ユーザー chankou0920chankou0920
提出日時 2017-10-27 14:07:35
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
実行時間 -
コード長 331 bytes
コンパイル時間 800 ms
コンパイル使用メモリ 108,636 KB
実行使用メモリ 29,304 KB
最終ジャッジ日時 2024-05-01 15:44:19
合計ジャッジ時間 4,347 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 23 ms
28,500 KB
testcase_01 AC 23 ms
23,640 KB
testcase_02 TLE -
testcase_03 TLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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());
		for (int i = 1; i < N; i++) {
			page += diff;
		}
		Console.WriteLine(page);
	}
	
	public static void Main(string[] args) {
		Program program = new Program();
		program.Solve();
	}
}
0