結果

問題 No.815 Are you a traveller ?
ユーザー keymoonkeymoon
提出日時 2019-04-19 21:36:37
言語 C#
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 587 bytes
コンパイル時間 1,853 ms
使用メモリ 14,808 KB
最終ジャッジ日時 2022-11-22 06:48:42
合計ジャッジ時間 3,224 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 52 ms
14,744 KB
testcase_01 AC 53 ms
14,692 KB
testcase_02 AC 53 ms
14,708 KB
testcase_03 AC 53 ms
14,780 KB
testcase_04 AC 52 ms
14,808 KB
testcase_05 AC 53 ms
14,608 KB
testcase_06 AC 53 ms
14,800 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using static System.Math;
using Debug = System.Diagnostics.Debug;
using MethodImplOptions = System.Runtime.CompilerServices.MethodImplOptions;
using MethodImplAttribute = System.Runtime.CompilerServices.MethodImplAttribute;


static class P
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());
        Console.WriteLine((n + 1) / 2);
    }
}
0