結果
| 問題 |
No.299 蟻本が読めない
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-23 11:26:17 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
MLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 504 bytes |
| コンパイル時間 | 17,778 ms |
| コンパイル使用メモリ | 167,280 KB |
| 実行使用メモリ | 183,408 KB |
| 最終ジャッジ日時 | 2024-10-10 18:29:51 |
| 合計ジャッジ時間 | 18,601 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 MLE * 1 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (94 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Program
{
static void Main()
{
var N = long.Parse(Console.ReadLine());
//Console.WriteLine(((N - 1) * 52) + 316);
long ans = 0;
if (N >= 2)
{
ans = 316 + (52 * (N - 1));
}
else if(N==1)
{
ans = N * 316;
}
Console.WriteLine(ans);
}
}