結果

問題 No.2201 p@$$w0rd
ユーザー KudeKude
提出日時 2023-02-03 21:23:19
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 120 bytes
コンパイル時間 898 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 71,676 KB
最終ジャッジ日時 2023-09-15 16:43:13
合計ジャッジ時間 3,633 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,292 KB
testcase_01 AC 72 ms
71,436 KB
testcase_02 AC 73 ms
71,324 KB
testcase_03 AC 71 ms
71,192 KB
testcase_04 AC 72 ms
71,120 KB
testcase_05 AC 72 ms
71,308 KB
testcase_06 AC 72 ms
71,148 KB
testcase_07 WA -
testcase_08 AC 69 ms
71,144 KB
testcase_09 AC 70 ms
71,192 KB
testcase_10 WA -
testcase_11 AC 71 ms
71,068 KB
testcase_12 WA -
testcase_13 AC 73 ms
71,196 KB
testcase_14 AC 72 ms
71,336 KB
testcase_15 WA -
testcase_16 AC 70 ms
71,212 KB
testcase_17 AC 72 ms
71,296 KB
testcase_18 AC 72 ms
71,288 KB
testcase_19 AC 72 ms
71,188 KB
testcase_20 AC 72 ms
71,268 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 72 ms
70,932 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
a = s.count('l') + s.count('o')
b = s.count('a') + s.count('s')
ans = (2 ** a - 1) * (2 ** b - 1)
print(ans)
0