結果

問題 No.2201 p@$$w0rd
ユーザー maimai
提出日時 2023-02-03 21:50:35
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 125 bytes
コンパイル時間 1,091 ms
コンパイル使用メモリ 11,184 KB
実行使用メモリ 15,372 KB
最終ジャッジ日時 2023-09-15 17:33:44
合計ジャッジ時間 4,071 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,124 KB
testcase_01 AC 80 ms
15,016 KB
testcase_02 AC 78 ms
15,128 KB
testcase_03 AC 78 ms
15,256 KB
testcase_04 AC 78 ms
15,164 KB
testcase_05 AC 78 ms
15,324 KB
testcase_06 AC 77 ms
15,324 KB
testcase_07 WA -
testcase_08 AC 77 ms
15,124 KB
testcase_09 AC 78 ms
15,316 KB
testcase_10 WA -
testcase_11 AC 77 ms
15,316 KB
testcase_12 WA -
testcase_13 AC 78 ms
15,324 KB
testcase_14 AC 77 ms
15,012 KB
testcase_15 WA -
testcase_16 AC 77 ms
15,076 KB
testcase_17 AC 77 ms
15,244 KB
testcase_18 AC 77 ms
15,016 KB
testcase_19 AC 76 ms
15,208 KB
testcase_20 AC 77 ms
15,140 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 77 ms
15,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

l=gets.chomp.chars
c1 = l.count{|c| "as".chars.include?(c)}
c2 = l.count{|c| "lo".chars.include?(c)}
p (2**c1-1) * (2**c2-1)
0