結果
| 問題 |
No.2201 p@$$w0rd
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2023-02-03 22:43:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| コンパイル時間 | 188 ms |
| コンパイル使用メモリ | 82,100 KB |
| 実行使用メモリ | 53,900 KB |
| 最終ジャッジ日時 | 2024-07-02 20:49:45 |
| 合計ジャッジ時間 | 1,724 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 3 |
ソースコード
S = input()
lo = 0
sa = 0
for c in 'lo':
lo += S.count(c)
for c in 'sa':
sa += S.count(c)
ans = (pow(2, lo) - 1) * (pow(2, sa) - 1)
if lo + sa == len(S):
ans -= 1
print(ans)
norioc