結果

問題 No.46 はじめのn歩
ユーザー iroganeirogane
提出日時 2019-06-26 10:50:03
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 63 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 3,336 ms
コンパイル使用メモリ 101,812 KB
実行使用メモリ 22,972 KB
最終ジャッジ日時 2023-09-06 15:54:51
合計ジャッジ時間 4,885 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
20,688 KB
testcase_01 AC 62 ms
20,852 KB
testcase_02 AC 61 ms
18,864 KB
testcase_03 AC 63 ms
20,892 KB
testcase_04 AC 63 ms
22,968 KB
testcase_05 AC 63 ms
20,912 KB
testcase_06 AC 63 ms
22,828 KB
testcase_07 AC 63 ms
22,972 KB
testcase_08 AC 62 ms
20,764 KB
testcase_09 AC 62 ms
20,880 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class No46 {
	public static void Main() {
	    var ar = Console.ReadLine().Split(" ");
	    decimal ans = decimal.Parse(ar[1]) / decimal.Parse(ar[0]);

        Console.WriteLine(Math.Ceiling(ans));
	}
}
0