結果

問題 No.2226 Hello, Forgotten World!
ユーザー tailstails
提出日時 2023-02-24 23:32:54
言語 Perl
(5.38.2)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 214 ms
コンパイル使用メモリ 5,156 KB
実行使用メモリ 5,584 KB
最終ジャッジ日時 2023-10-11 07:00:07
合計ジャッジ時間 763 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,756 KB
testcase_01 AC 17 ms
5,584 KB
testcase_02 AC 5 ms
4,840 KB
testcase_03 AC 6 ms
4,640 KB
testcase_04 AC 3 ms
4,812 KB
testcase_05 AC 6 ms
4,836 KB
testcase_06 AC 3 ms
4,732 KB
testcase_07 AC 5 ms
4,768 KB
testcase_08 AC 3 ms
4,752 KB
testcase_09 AC 5 ms
4,912 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "helloworld" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($r=$h=$r=helloworld)=~s/./[$&?]/g;
<>;
while(<>){
	$_=<>;
	@a=();
	/$r(?{push@a,"$`$h$'"=~y!?!a!r})^/;
	printf@a?sort@a:-1 .$/;
}
0