【八月份 -- 基础语法组】-- T3 -- 数字游戏

· · 个人记录

https://cspjs.online/contest/756/problem/3

#include<bits/stdc++.h>
#define LL long long
using namespace std;
class game{
    public:
        long long a(int n){
            return (n+1)*9;
        }
};
game ss;
int main(){
    freopen("game.in","r",stdin);
    freopen("game.out","w",stdout);
    string s;
    cin>>s;
    cout<<ss.a(s.size()) ;
    return 0;
}//面向对象 yyds!