結果

問題 No.388 階段 (1)
ユーザー masakt
提出日時 2017-03-12 19:35:03
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 271 bytes
コンパイル時間 752 ms
コンパイル使用メモリ 102,528 KB
実行使用メモリ 18,816 KB
最終ジャッジ日時 2024-06-30 00:33:56
合計ジャッジ時間 1,748 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 10 WA * 2
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

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