結果

問題 No.3042 本棚
ユーザー keymoonkeymoon
提出日時 2019-04-01 21:48:35
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 250 bytes
コンパイル時間 2,072 ms
コンパイル使用メモリ 101,212 KB
実行使用メモリ 26,944 KB
最終ジャッジ日時 2023-09-10 10:24:38
合計ジャッジ時間 5,845 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
22,884 KB
testcase_01 AC 91 ms
20,796 KB
testcase_02 AC 91 ms
22,872 KB
testcase_03 AC 92 ms
22,952 KB
testcase_04 AC 91 ms
20,756 KB
testcase_05 AC 92 ms
22,928 KB
testcase_06 AC 95 ms
22,772 KB
testcase_07 AC 92 ms
24,844 KB
testcase_08 AC 93 ms
24,868 KB
testcase_09 AC 92 ms
24,740 KB
testcase_10 AC 91 ms
23,056 KB
testcase_11 AC 91 ms
22,800 KB
testcase_12 AC 92 ms
22,780 KB
testcase_13 AC 92 ms
22,948 KB
testcase_14 AC 91 ms
20,812 KB
testcase_15 AC 92 ms
24,864 KB
testcase_16 AC 92 ms
22,804 KB
testcase_17 AC 92 ms
22,976 KB
testcase_18 AC 92 ms
24,772 KB
testcase_19 AC 92 ms
22,896 KB
testcase_20 AC 92 ms
22,952 KB
testcase_21 AC 91 ms
22,964 KB
testcase_22 AC 94 ms
26,944 KB
testcase_23 AC 93 ms
22,860 KB
testcase_24 AC 91 ms
22,796 KB
testcase_25 AC 91 ms
22,844 KB
testcase_26 AC 92 ms
24,876 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 P{static void Main(){Console.WriteLine(string.Join("\n",Enumerable.Repeat(0,int.Parse(Console.ReadLine())).Select(_=>Console.ReadLine().Split()).OrderBy(x=>x[0]).ThenBy(x=>x[1][0]).Select(x=>$"{x[0]} {x[1]}")));}}
0