結果

問題 No.477 MVP
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-08-29 01:03:32
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 244 bytes
コンパイル時間 6,172 ms
コンパイル使用メモリ 97,648 KB
実行使用メモリ 23,812 KB
最終ジャッジ日時 2023-09-25 18:23:24
合計ジャッジ時間 7,485 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
15,776 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 AC 60 ms
23,812 KB
testcase_07 AC 59 ms
21,844 KB
testcase_08 AC 60 ms
21,856 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.Linq;

class No477{
    static void Main(){
        var num=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray();
        var score=num[0]/(num[1]+1)+1;
        Console.WriteLine(score>1?score:1);
    }
}
0