結果

問題 No.388 階段 (1)
ユーザー pof
提出日時 2019-05-19 17:48:44
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 345 bytes
コンパイル時間 2,096 ms
コンパイル使用メモリ 108,024 KB
実行使用メモリ 25,136 KB
最終ジャッジ日時 2024-09-17 06:30:42
合計ジャッジ時間 1,891 ms
ジャッジサーバーID
(参考情報)
judge6 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 8 WA * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] ss = Console.ReadLine().Split(' ');
            int s = int.Parse(ss[0]);
            double f = double.Parse(ss[1]);
            double r = Math.Ceiling(s / f);

            Console.Write(r);
        }
    }
}
0