結果
問題 | No.2201 p@$$w0rd |
ユーザー |
![]() |
提出日時 | 2023-02-03 22:33:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 2,000 ms |
コード長 | 265 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 82,140 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-02 20:39:10 |
合計ジャッジ時間 | 1,941 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
S=input()m=0if S.count('l')+S.count('o')+S.count('a')+S.count('s')==len(S):m=-1if S.count('l')+S.count('o')==len(S) or S.count('a')+S.count('s')==len(S):print(0)exit(0)print((2**(S.count('l')+S.count('o'))-1)*(2**(S.count('a')+S.count('s'))-1)+m)