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