結果
| 問題 | No.2201 p@$$w0rd |
| コンテスト | |
| ユーザー |
nikoro_is_wolf
|
| 提出日時 | 2023-02-03 22:33:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 63 ms / 2,000 ms |
| + 891µs | |
| コード長 | 265 bytes |
| 記録 | |
| コンパイル時間 | 221 ms |
| コンパイル使用メモリ | 96,228 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-08-04 06:03:31 |
| 合計ジャッジ時間 | 3,038 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
S=input()
m=0
if S.count('l')+S.count('o')+S.count('a')+S.count('s')==len(S):
m=-1
if 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)
nikoro_is_wolf