結果

問題 No.233 めぐるはめぐる (3)
ユーザー tailstails
提出日時 2015-06-26 23:36:35
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 263 bytes
コンパイル時間 264 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 36,416 KB
最終ジャッジ日時 2023-09-22 01:44:27
合計ジャッジ時間 4,370 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
30,984 KB
testcase_01 AC 70 ms
22,312 KB
testcase_02 AC 33 ms
13,468 KB
testcase_03 AC 77 ms
24,084 KB
testcase_04 AC 177 ms
32,000 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;$s{$_}=1for<>;
while(1){
	@1=sort{.5<=>rand}qw(i a a e u u);
	redo if $1{"@1"}++;
	%2=();
	for(0..119){
		@2=sort{.5<=>rand}qw(n b m g r);
		redo if $2{"@2"}++;
		$s="$1[0]$2[0]$1[1]$2[1]$1[2]$2[2]$1[3]$2[3]$1[4]$2[4]$1[5]\n";
		exit!print $s if !$s{$s};
	}
}
0