結果
| 問題 | 
                            No.1644 Eight Digits
                             | 
                    
| コンテスト | |
| ユーザー | 
                             tails
                         | 
                    
| 提出日時 | 2021-08-13 21:30:11 | 
| 言語 | Perl  (5.40.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                            (最新)
                                AC
                                 
                             
                            (最初)
                            
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 139 bytes | 
| コンパイル時間 | 260 ms | 
| コンパイル使用メモリ | 7,076 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-10-03 17:18:34 | 
| 合計ジャッジ時間 | 30,483 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 18 TLE * 7 | 
コンパイルメッセージ
Main.pl syntax OK
ソースコード
sub f{
	if(length==8){
		$z+=$_%$k==0;
	}else{
		for$i(1..8){
			if(!/$i/){
				$_.=$i;
				&f;
				chop;
			}
		}
	}
}
$k=<>;
f;
print$z;
            
            
            
        
            
tails