結果
| 問題 | No.2201 p@$$w0rd |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-02-03 21:36:23 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 324 bytes |
| 記録 | |
| コンパイル時間 | 1,229 ms |
| コンパイル使用メモリ | 209,508 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-29 10:45:55 |
| 合計ジャッジ時間 | 2,113 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}