結果
問題 | No.2147 ハノイの塔のおもちゃ |
ユーザー |
![]() |
提出日時 | 2022-12-19 17:34:51 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 6 ms / 2,000 ms |
コード長 | 66 bytes |
コンパイル時間 | 363 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 5,632 KB |
最終ジャッジ日時 | 2024-11-18 01:09:13 |
合計ジャッジ時間 | 997 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
コンパイルメッセージ
Unquoted string "p" may clash with future reserved word at Main.pl line 1. Useless use of addition (+) in void context at Main.pl line 1. Main.pl syntax OK
ソースコード
/^(.)+(?{($\+=$\+-$%!~($%=p^$1^$%||$%))%=1e9+7})^/+$%++for<>;print