#include <bits/stdc++.h>
#define gyorsan ios::sync_with_stdio(0);cin.tie(0)
using namespace std;
int main()
{
gyorsan;
int abcHossz = 26;
int valasz = 1;
string szo;
getline(cin, szo);
for(int i = 0; i < szo.size(); i++) {
if(szo[i] == '_') valasz *= abcHossz;
if(szo[i] != ' ') abcHossz -= 1;
}
cout << valasz;
return 0;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 3ms | 1828 KiB | ||||
2 | Wrong answer | 2ms | 2020 KiB | ||||
subtask2 | 0/10 | ||||||
3 | Wrong answer | 2ms | 2224 KiB | ||||
4 | Wrong answer | 2ms | 2428 KiB | ||||
5 | Wrong answer | 2ms | 2632 KiB | ||||
subtask3 | 0/20 | ||||||
6 | Wrong answer | 2ms | 2704 KiB | ||||
7 | Wrong answer | 2ms | 2736 KiB | ||||
8 | Wrong answer | 2ms | 2804 KiB | ||||
9 | Wrong answer | 2ms | 2936 KiB | ||||
10 | Wrong answer | 2ms | 3168 KiB | ||||
11 | Wrong answer | 2ms | 3236 KiB | ||||
subtask4 | 0/30 | ||||||
12 | Wrong answer | 2ms | 3372 KiB | ||||
13 | Wrong answer | 2ms | 3420 KiB | ||||
14 | Wrong answer | 2ms | 3548 KiB | ||||
15 | Wrong answer | 2ms | 3624 KiB | ||||
16 | Wrong answer | 2ms | 3756 KiB | ||||
17 | Wrong answer | 2ms | 3852 KiB | ||||
subtask5 | 0/40 | ||||||
18 | Wrong answer | 2ms | 3856 KiB | ||||
19 | Wrong answer | 2ms | 4208 KiB | ||||
20 | Wrong answer | 2ms | 4192 KiB | ||||
21 | Wrong answer | 2ms | 4088 KiB | ||||
22 | Wrong answer | 2ms | 4088 KiB | ||||
23 | Wrong answer | 2ms | 4092 KiB | ||||
24 | Wrong answer | 2ms | 4088 KiB |