結果
| 問題 |
No.299 蟻本が読めない
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-30 14:59:20 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 467 bytes |
| コンパイル時間 | 834 ms |
| コンパイル使用メモリ | 109,332 KB |
| 実行使用メモリ | 21,172 KB |
| 最終ジャッジ日時 | 2024-09-21 00:52:02 |
| 合計ジャッジ時間 | 1,350 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 RE * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
namespace yukicoder
{
class Program
{
static void Main(string[] args)
{
long a = int.Parse(Console.ReadLine());
long b = 0;
long ans = 316;
if (a == 1)
{
Console.WriteLine(ans);
}
else
{
ans += 52*(a-1);
Console.WriteLine(ans);
}
}
}
}