Codeforces Round #309 (Div. 2) A. Kyoya and Photobooks

题目链接:http://codeforces.com/contest/554/problem/A

#include <iostream>
#include <cstring>
using namespace std;

int main()
{
    char s[25];
    while(cin>>s)
    {
        int len=strlen(s);
        int sum=26*(len+1)-len;
        cout<<sum<<endl;
    }
    return 0;
}

你可能感兴趣的:(水)