結果
問題 | No.233 めぐるはめぐる (3) |
ユーザー |
![]() |
提出日時 | 2015-06-26 23:40:36 |
言語 | Perl (5.40.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 291 bytes |
コンパイル時間 | 59 ms |
コンパイル使用メモリ | 5,248 KB |
実行使用メモリ | 40,064 KB |
最終ジャッジ日時 | 2024-07-07 18:35:46 |
合計ジャッジ時間 | 4,194 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | AC * 5 TLE * 1 -- * 5 |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
<>;$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}; } }