結果

問題 No.3016 unordered_mapなるたけ落とすマン
ユーザー AreTrashAreTrash
提出日時 2016-10-12 19:48:09
言語 C#(csc)
(csc 3.9.0)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 611 bytes
コンパイル時間 2,199 ms
コンパイル使用メモリ 107,220 KB
実行使用メモリ 53,672 KB
最終ジャッジ日時 2024-05-01 19:33:09
合計ジャッジ時間 14,443 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
24,072 KB
testcase_01 AC 29 ms
24,524 KB
testcase_02 AC 29 ms
24,516 KB
testcase_03 MLE -
testcase_04 MLE -
testcase_05 AC 253 ms
40,736 KB
testcase_06 MLE -
testcase_07 MLE -
testcase_08 MLE -
testcase_09 AC 254 ms
40,780 KB
testcase_10 MLE -
testcase_11 MLE -
testcase_12 MLE -
testcase_13 MLE -
testcase_14 MLE -
testcase_15 MLE -
testcase_16 MLE -
testcase_17 MLE -
testcase_18 MLE -
testcase_19 MLE -
testcase_20 MLE -
testcase_21 MLE -
testcase_22 AC 245 ms
41,856 KB
testcase_23 MLE -
testcase_24 MLE -
testcase_25 MLE -
testcase_26 MLE -
testcase_27 MLE -
testcase_28 MLE -
testcase_29 MLE -
testcase_30 MLE -
testcase_31 MLE -
testcase_32 MLE -
testcase_33 MLE -
testcase_34 MLE -
testcase_35 MLE -
testcase_36 AC 235 ms
41,344 KB
testcase_37 MLE -
testcase_38 MLE -
testcase_39 MLE -
testcase_40 AC 234 ms
41,344 KB
testcase_41 AC 28 ms
18,176 KB
testcase_42 AC 28 ms
18,176 KB
testcase_43 AC 29 ms
18,304 KB
testcase_44 AC 49 ms
20,480 KB
testcase_45 AC 48 ms
20,224 KB
testcase_46 AC 49 ms
20,096 KB
testcase_47 MLE -
testcase_48 MLE -
testcase_49 AC 223 ms
41,472 KB
testcase_50 MLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;

namespace No3016{
    public class Program{
        public static void Main(string[] args){
            Console.ReadLine();
            var A = Array.ConvertAll(Console.ReadLine().Split(' '), double.Parse);
            var B = Array.ConvertAll(Console.ReadLine().Split(' '), double.Parse);;
            Array.Sort(A);

            var C = new List<int>();
            foreach(var x in B){
                C.Add(Array.BinarySearch(A, x - 0.5d) - Array.BinarySearch(A, x + 0.5d));
            }
            Console.WriteLine(string.Join(" ", C));
        }
    }
}
0