結果
問題 | No.2201 p@$$w0rd |
ユーザー |
![]() |
提出日時 | 2023-01-24 01:38:26 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 199 bytes |
コンパイル時間 | 191 ms |
コンパイル使用メモリ | 81,664 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-02 18:42:02 |
合計ジャッジ時間 | 2,012 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
S = input()a = S.count('l')+S.count('o')b = S.count('a')+S.count('s')if a>0 and b>0:if a+b==8:print((2**a-1)*(2**b-1)-1)else:print((2**a-1)*(2**b-1))else:print(0)