結果
| 問題 |
No.541 3 x N グリッド上のサイクルの個数
|
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2017-09-01 23:33:07 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 49 ms / 2,000 ms |
| コード長 | 194 bytes |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 5,504 KB |
| 実行使用メモリ | 5,632 KB |
| 最終ジャッジ日時 | 2024-11-06 17:52:22 |
| 合計ジャッジ時間 | 4,090 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 62 |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
sub f{my@r;$y=$_*10,map{//;($r[$y+$']+=$Z[$y+$_]*$_[$_*10+$'])%=1e9+7for@@}@@for@@;@r}$Z[11*$_]=1for@@=0..9;$N=<>;(@Z=f@Z),$N+1>>$=&1and@Z=f map{vec'8<."B',$_,1}0..99while$=--;print$Z[9]
%20