专栏文章
【八月份 -- 基础语法组】-- T3 -- 数字游戏
个人记录参与者 1已保存评论 0
文章操作
快速查看文章及其快照的属性,并进行相关操作。
- 当前评论
- 0 条
- 当前快照
- 1 份
- 快照标识符
- @mipc44v9
- 此快照首次捕获于
- 2025/12/03 09:34 3 个月前
- 此快照最后确认于
- 2025/12/03 09:34 3 个月前
https://cspjs.online/contest/756/problem/3
CPP#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!
相关推荐
评论
共 0 条评论,欢迎与作者交流。
正在加载评论...