結果
問題 |
No.299 蟻本が読めない
|
ユーザー |
|
提出日時 | 2017-10-27 14:07:35 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 730 ms |
コンパイル使用メモリ | 103,552 KB |
実行使用メモリ | 22,656 KB |
最終ジャッジ日時 | 2024-11-21 20:48:41 |
合計ジャッジ時間 | 4,122 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 TLE * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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(); } }