結果
| 問題 |
No.2201 p@$$w0rd
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-02-03 21:36:23 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 324 bytes |
| コンパイル時間 | 1,611 ms |
| コンパイル使用メモリ | 192,940 KB |
| 最終ジャッジ日時 | 2025-02-10 08:53:20 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int number=0, symbol=0;
for(int i=0; i<8; i++){
char c;
cin>>c;
if(c=='l' || c=='o') number++;
if(c=='a' || c=='s') symbol++;
}
int ans = (pow(2,number)-1) * (pow(2,symbol)-1);
cout<<ans<<endl;
return 0;
}