結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
35,464 KB
testcase_01 AC 72 ms
22,516 KB
testcase_02 AC 35 ms
13,584 KB
testcase_03 AC 79 ms
24,072 KB
testcase_04 AC 112 ms
32,108 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<>;
for(0..119){
	@2=sort{.5<=>rand}qw(n b m g r);
	redo if $2{"@2"}++;
	push @20,[@2];
}
while(1){
	@1=sort{.5<=>rand}qw(i a a e u u);
	redo if $1{"@1"}++;
	for(@20){
		@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