結果

問題 No.1475 時計の歯車Easy
ユーザー bluemeganebluemegane
提出日時 2021-04-10 22:49:02
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 511 bytes
コンパイル時間 1,172 ms
コンパイル使用メモリ 63,052 KB
実行使用メモリ 22,884 KB
最終ジャッジ日時 2023-09-08 18:18:18
合計ジャッジ時間 7,395 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
18,648 KB
testcase_01 AC 62 ms
20,576 KB
testcase_02 AC 60 ms
20,620 KB
testcase_03 AC 61 ms
20,720 KB
testcase_04 AC 63 ms
20,584 KB
testcase_05 AC 62 ms
22,728 KB
testcase_06 AC 62 ms
22,708 KB
testcase_07 AC 61 ms
18,620 KB
testcase_08 AC 62 ms
22,776 KB
testcase_09 AC 61 ms
20,760 KB
testcase_10 AC 62 ms
22,692 KB
testcase_11 AC 61 ms
20,644 KB
testcase_12 AC 62 ms
18,660 KB
testcase_13 AC 61 ms
22,836 KB
testcase_14 AC 62 ms
22,884 KB
testcase_15 AC 62 ms
20,660 KB
testcase_16 AC 60 ms
18,648 KB
testcase_17 AC 60 ms
20,652 KB
testcase_18 AC 62 ms
20,640 KB
testcase_19 AC 61 ms
22,672 KB
testcase_20 AC 61 ms
20,580 KB
testcase_21 AC 61 ms
20,720 KB
testcase_22 AC 60 ms
20,848 KB
testcase_23 AC 60 ms
22,692 KB
testcase_24 AC 59 ms
22,788 KB
testcase_25 AC 62 ms
20,664 KB
testcase_26 AC 61 ms
22,736 KB
testcase_27 AC 62 ms
20,672 KB
testcase_28 AC 61 ms
20,700 KB
testcase_29 AC 62 ms
20,692 KB
testcase_30 AC 62 ms
22,676 KB
testcase_31 AC 62 ms
22,684 KB
testcase_32 AC 62 ms
22,856 KB
testcase_33 AC 62 ms
20,652 KB
testcase_34 AC 62 ms
22,624 KB
testcase_35 AC 63 ms
20,820 KB
testcase_36 AC 60 ms
20,720 KB
testcase_37 AC 63 ms
20,660 KB
testcase_38 AC 61 ms
20,760 KB
testcase_39 AC 61 ms
20,724 KB
testcase_40 AC 62 ms
22,688 KB
testcase_41 AC 61 ms
20,712 KB
testcase_42 AC 60 ms
18,768 KB
testcase_43 AC 62 ms
20,632 KB
testcase_44 AC 60 ms
20,632 KB
testcase_45 AC 61 ms
20,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class hello
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        for (int i = 0; i < n; i++)
        {
            string[] line = Console.ReadLine().Trim().Split(' ');
            var k = int.Parse(line[0]);
            var ans = new int[k];
            for (int j = 0; j < k; j++) ans[j] = int.Parse(line[j + 1]);
            Array.Sort(ans);
            Array.Reverse(ans);
            Console.WriteLine(string.Join(" ", ans));
        }
    }
}
0