結果

問題 No.388 階段 (1)
ユーザー kimny
提出日時 2017-11-15 11:13:59
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 541 bytes
コンパイル時間 682 ms
コンパイル使用メモリ 106,020 KB
実行使用メモリ 26,116 KB
最終ジャッジ日時 2024-11-25 03:57:34
合計ジャッジ時間 1,570 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace yukicoder_388
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] a = Console.ReadLine().Split(' ');
            int s = int.Parse(a[0]);
            int f = int.Parse(a[1]);
            int flr = s / f;
            if (s % f != 0)
            {
                flr++;
            }
            Console.WriteLine(flr);
            Console.ReadLine();
        }
    }
}
0