結果

問題 No.46 はじめのn歩
ユーザー laneguelanegue
提出日時 2020-03-31 06:59:30
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 5,000 ms
コード長 248 bytes
コンパイル時間 1,516 ms
コンパイル使用メモリ 63,164 KB
実行使用メモリ 24,852 KB
最終ジャッジ日時 2023-09-06 00:53:34
合計ジャッジ時間 2,493 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
22,776 KB
testcase_01 AC 57 ms
22,816 KB
testcase_02 AC 57 ms
24,804 KB
testcase_03 AC 56 ms
22,784 KB
testcase_04 AC 58 ms
24,760 KB
testcase_05 AC 56 ms
20,772 KB
testcase_06 AC 58 ms
23,044 KB
testcase_07 AC 56 ms
22,768 KB
testcase_08 AC 57 ms
24,852 KB
testcase_09 AC 56 ms
22,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
public class Program
{
    static void Main()
    {
        string[] s = Console.ReadLine().Split(' ');
        int a = int.Parse(s[0]);
        int b = int.Parse(s[1]);
        Console.WriteLine(Math.Ceiling((double)b / a));
    }
}
0