結果

問題 No.267 トランプソート
ユーザー tailstails
提出日時 2015-08-21 22:27:00
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 108 bytes
コンパイル時間 598 ms
コンパイル使用メモリ 5,368 KB
実行使用メモリ 5,444 KB
最終ジャッジ日時 2023-09-25 14:37:18
合計ジャッジ時間 1,788 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,140 KB
testcase_01 WA -
testcase_02 AC 6 ms
5,232 KB
testcase_03 AC 6 ms
5,292 KB
testcase_04 AC 6 ms
5,088 KB
testcase_05 AC 6 ms
5,140 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$o{$_}=++$i for <{D,C,H,S}{A,2,3,4,5,6,7,8,9,10,J,Q,K}>;
<>;@a=<>=~/\S+/g;print join$",sort{$o{$a}-$o{$b}}@a
0