結果
| 問題 | No.2201 p@$$w0rd |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-04-26 11:59:12 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 203 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-15 19:55:18 |
| 合計ジャッジ時間 | 1,956 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 1 |
ソースコード
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:
print(res)
else:
print(res-1)