結果
| 問題 | No.2201 p@$$w0rd |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2023-02-03 22:43:09 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| 記録 | |
| コンパイル時間 | 425 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-03-24 04:32:36 |
| 合計ジャッジ時間 | 2,236 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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