結果
| 問題 | 
                            No.2419 MMA文字列2
                             | 
                    
| コンテスト | |
| ユーザー | 
                             tails
                         | 
                    
| 提出日時 | 2023-08-13 01:12:35 | 
| 言語 | Perl  (5.40.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 217 ms / 2,000 ms | 
| コード長 | 82 bytes | 
| コンパイル時間 | 120 ms | 
| コンパイル使用メモリ | 7,072 KB | 
| 実行使用メモリ | 23,808 KB | 
| 最終ジャッジ日時 | 2024-11-20 17:22:07 | 
| 合計ジャッジ時間 | 4,045 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 30 | 
コンパイルメッセージ
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 1. Main.pl syntax OK
ソースコード
<>=~s/./
	$z+=$y-$b{$&};
	$y+=$a{$&};
	$b{$&}+=$a{$&};
	$a{$&}+=1;
/ger;
print$z;
            
            
            
        
            
tails