結果

問題 No.1139 Slime Race
ユーザー keymoonkeymoon
提出日時 2021-01-15 00:01:52
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 157 ms / 2,000 ms
コード長 679 bytes
コンパイル時間 2,518 ms
コンパイル使用メモリ 105,580 KB
実行使用メモリ 43,608 KB
最終ジャッジ日時 2023-09-15 03:09:55
合計ジャッジ時間 6,423 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
21,972 KB
testcase_01 AC 64 ms
21,912 KB
testcase_02 AC 64 ms
19,944 KB
testcase_03 AC 63 ms
21,816 KB
testcase_04 AC 63 ms
21,948 KB
testcase_05 AC 65 ms
23,900 KB
testcase_06 AC 74 ms
22,324 KB
testcase_07 AC 66 ms
24,008 KB
testcase_08 AC 65 ms
21,992 KB
testcase_09 AC 65 ms
23,964 KB
testcase_10 AC 140 ms
38,728 KB
testcase_11 AC 137 ms
40,000 KB
testcase_12 AC 152 ms
40,756 KB
testcase_13 AC 62 ms
21,940 KB
testcase_14 AC 140 ms
40,912 KB
testcase_15 AC 142 ms
39,572 KB
testcase_16 AC 153 ms
42,512 KB
testcase_17 AC 143 ms
40,940 KB
testcase_18 AC 132 ms
39,424 KB
testcase_19 AC 110 ms
28,448 KB
testcase_20 AC 108 ms
30,344 KB
testcase_21 AC 129 ms
37,132 KB
testcase_22 AC 142 ms
38,792 KB
testcase_23 AC 157 ms
43,608 KB
testcase_24 AC 63 ms
21,936 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.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
public static class P
{
    public static void Main()
    {
        var nd = Console.ReadLine().Split().Select(int.Parse).ToArray();
        var n = nd[0];
        var d = nd[1];
        var x = Console.ReadLine().Split().Select(long.Parse).ToArray();
        var v = Console.ReadLine().Split().Select(long.Parse).ToArray();
        var sum = v.Sum();
        Console.WriteLine((d + sum - 1) / sum);
    }
}
0