結果

問題 No.2201 p@$$w0rd
ユーザー dango
提出日時 2023-06-12 20:46:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 210 ms
コンパイル使用メモリ 82,152 KB
実行使用メモリ 53,464 KB
最終ジャッジ日時 2024-06-11 21:01:02
合計ジャッジ時間 2,055 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
N, M = S.count("l") + S.count("o"), S.count("a") + S.count("s")
print((2 ** N - 1) * (2 ** M - 1) - 1 if (2 ** N - 1) * (2 ** M - 1) and N + M == 8 else (2 ** N - 1) * (2 ** M - 1))
0