結果

問題 No.477 MVP
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-08-29 01:04:39
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 244 bytes
コンパイル時間 4,297 ms
コンパイル使用メモリ 103,064 KB
実行使用メモリ 24,000 KB
最終ジャッジ日時 2023-09-25 18:25:17
合計ジャッジ時間 5,893 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
23,940 KB
testcase_01 AC 61 ms
21,880 KB
testcase_02 AC 62 ms
21,940 KB
testcase_03 AC 62 ms
21,824 KB
testcase_04 AC 61 ms
21,948 KB
testcase_05 AC 60 ms
19,848 KB
testcase_06 AC 61 ms
24,000 KB
testcase_07 AC 62 ms
23,868 KB
testcase_08 AC 61 ms
22,040 KB
testcase_09 AC 61 ms
21,936 KB
testcase_10 AC 60 ms
19,920 KB
testcase_11 AC 60 ms
21,796 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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=>Int64.Parse(x)).ToArray();
        var score=num[0]/(num[1]+1)+1;
        Console.WriteLine(score>1?score:1);
    }
}
0