結果
| 問題 | 
                            No.2201 p@$$w0rd
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-04-26 12:07:17 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 32 ms / 2,000 ms | 
| コード長 | 179 bytes | 
| コンパイル時間 | 313 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,496 KB | 
| 最終ジャッジ日時 | 2024-11-15 20:06:39 | 
| 合計ジャッジ時間 | 1,995 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 24 | 
ソースコード
s=input()
if 'l' not in s and 'o' not in s:
 print(0)
 exit()
x=s.count('l')+s.count('o')
y=s.count('a')+s.count('s')
res=(2**x-1)*(2**y-1)
if x+y==8:
 res-=1
print(max(0,res))