結果
| 問題 | 
                            No.2201 p@$$w0rd
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-02-12 02:25:22 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 389 bytes | 
| コンパイル時間 | 2,013 ms | 
| コンパイル使用メモリ | 194,016 KB | 
| 最終ジャッジ日時 | 2025-02-10 14:38:27 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 18 WA * 6 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
using pii=pair<int,int>;
#define all(a) a.begin(),a.end()
#define pb push_back
#define sz(a) ((int)a.size())
signed main(){
    ios_base::sync_with_stdio(0),cin.tie(0);
    string s; cin >> s;
    int x=count(all(s),'l')+count(all(s),'o'),y=count(all(s),'a')+count(all(s),'s');
    cout << ((1<<x)-1)*((1<<y)-1) << "\n";
}