結果

問題 No.3016 unordered_mapなるたけ落とすマン
ユーザー AreTrashAreTrash
提出日時 2016-10-12 20:01:02
言語 C#(csc)
(csc 3.9.0)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 620 bytes
コンパイル時間 1,320 ms
コンパイル使用メモリ 102,912 KB
実行使用メモリ 50,088 KB
最終ジャッジ日時 2024-05-01 19:39:01
合計ジャッジ時間 13,694 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
26,384 KB
testcase_01 AC 28 ms
24,244 KB
testcase_02 AC 28 ms
24,072 KB
testcase_03 MLE -
testcase_04 AC 255 ms
39,748 KB
testcase_05 AC 256 ms
39,580 KB
testcase_06 AC 254 ms
39,688 KB
testcase_07 AC 251 ms
39,808 KB
testcase_08 AC 254 ms
39,532 KB
testcase_09 AC 254 ms
39,760 KB
testcase_10 AC 252 ms
39,432 KB
testcase_11 AC 254 ms
43,520 KB
testcase_12 AC 254 ms
43,264 KB
testcase_13 AC 254 ms
43,776 KB
testcase_14 AC 259 ms
43,648 KB
testcase_15 AC 254 ms
43,776 KB
testcase_16 AC 256 ms
43,392 KB
testcase_17 AC 249 ms
42,880 KB
testcase_18 AC 251 ms
42,752 KB
testcase_19 AC 248 ms
43,648 KB
testcase_20 AC 246 ms
41,984 KB
testcase_21 AC 258 ms
42,112 KB
testcase_22 AC 247 ms
41,856 KB
testcase_23 AC 242 ms
41,984 KB
testcase_24 AC 239 ms
41,728 KB
testcase_25 AC 244 ms
41,856 KB
testcase_26 AC 239 ms
41,472 KB
testcase_27 AC 241 ms
41,216 KB
testcase_28 AC 235 ms
41,088 KB
testcase_29 AC 248 ms
41,344 KB
testcase_30 AC 250 ms
41,216 KB
testcase_31 AC 239 ms
40,960 KB
testcase_32 AC 237 ms
40,960 KB
testcase_33 AC 235 ms
40,832 KB
testcase_34 AC 243 ms
40,576 KB
testcase_35 AC 240 ms
40,576 KB
testcase_36 AC 235 ms
40,576 KB
testcase_37 AC 233 ms
40,448 KB
testcase_38 AC 235 ms
40,448 KB
testcase_39 AC 228 ms
40,320 KB
testcase_40 AC 233 ms
40,192 KB
testcase_41 AC 27 ms
17,920 KB
testcase_42 AC 28 ms
18,176 KB
testcase_43 AC 28 ms
18,176 KB
testcase_44 AC 49 ms
20,224 KB
testcase_45 AC 47 ms
20,224 KB
testcase_46 AC 48 ms
20,352 KB
testcase_47 AC 209 ms
39,296 KB
testcase_48 AC 225 ms
41,344 KB
testcase_49 AC 230 ms
40,320 KB
testcase_50 AC 256 ms
41,800 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.Text;

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 sb = new StringBuilder();
            foreach(var x in B){
                sb.Append(Array.BinarySearch(A, x - 0.5d) - Array.BinarySearch(A, x + 0.5d));
                sb.Append(" ");
            }
            Console.WriteLine(sb);
        }
    }
}
0