結果
| 問題 |
No.2201 p@$$w0rd
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2023-02-03 22:39:00 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 153 bytes |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 82,392 KB |
| 実行使用メモリ | 53,680 KB |
| 最終ジャッジ日時 | 2024-07-02 20:45:09 |
| 合計ジャッジ時間 | 1,945 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 6 |
ソースコード
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)
print(ans)
norioc