結果
| 問題 |
No.299 蟻本が読めない
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-08 09:27:53 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 443 bytes |
| コンパイル時間 | 931 ms |
| コンパイル使用メモリ | 111,616 KB |
| 実行使用メモリ | 25,820 KB |
| 最終ジャッジ日時 | 2024-09-21 05:03:54 |
| 合計ジャッジ時間 | 1,442 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 1 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)
{
//入力
int N = int.Parse(Console.ReadLine());
int ans = 0;
if (N >= 2)
{
ans = 316 + (52 * (N - 1));
}
else if(N==1)
{
ans = N * 316;
}
Console.WriteLine(ans);
}
}
}