結果

問題 No.46 はじめのn歩
ユーザー arasabaki
提出日時 2016-03-06 22:28:50
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 439 bytes
コンパイル時間 804 ms
コンパイル使用メモリ 107,812 KB
実行使用メモリ 26,216 KB
最終ジャッジ日時 2024-09-24 14:55:58
合計ジャッジ時間 1,596 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var readArray = Console.ReadLine().Split();

            var step = int.Parse(readArray[0]);
            var length = int.Parse(readArray[1]);

            Console.WriteLine(length / step + 1);
        }
    }
}
0