結果

問題 No.2652 [Cherry 6th Tune N] Δρονε χιρχλινγ
ユーザー ニックネームニックネーム
提出日時 2024-02-23 22:18:09
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 270 bytes
コンパイル時間 222 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 115,716 KB
最終ジャッジ日時 2024-02-23 22:19:17
合計ジャッジ時間 57,952 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,716 KB
testcase_01 AC 646 ms
78,676 KB
testcase_02 AC 532 ms
79,304 KB
testcase_03 AC 564 ms
81,108 KB
testcase_04 AC 733 ms
95,592 KB
testcase_05 AC 725 ms
95,624 KB
testcase_06 AC 750 ms
96,212 KB
testcase_07 AC 895 ms
100,060 KB
testcase_08 AC 864 ms
100,112 KB
testcase_09 AC 867 ms
100,324 KB
testcase_10 AC 870 ms
100,668 KB
testcase_11 AC 873 ms
100,124 KB
testcase_12 AC 895 ms
99,644 KB
testcase_13 AC 929 ms
103,884 KB
testcase_14 WA -
testcase_15 AC 975 ms
108,620 KB
testcase_16 AC 940 ms
101,020 KB
testcase_17 AC 982 ms
105,684 KB
testcase_18 AC 1,023 ms
104,852 KB
testcase_19 AC 976 ms
103,568 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 AC 474 ms
115,020 KB
testcase_41 AC 451 ms
114,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
    n,l = map(int,input().split())
    xy = sorted(tuple(map(int,input().split())) for _ in range(n))
    a = []; m = int(n**0.5)+1; print(n)
    for i in range(m): a += sorted(xy[i*m:(i+1)*m],key=lambda x:x[1])
    for x,y in a: print(x,y)
0