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