且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2022-08-13 08:45:26

题目链接: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;
}