| 比赛 | 期末考试0 | 评测结果 | WWWAAWWWWW |
|---|---|---|---|
| 题目名称 | Sayaku,移动 | 最终得分 | 20 |
| 用户昵称 | yyswys | 运行时间 | 0.029 s |
| 代码语言 | C++ | 内存使用 | 3.67 MiB |
| 提交时间 | 2026-02-07 11:11:38 | ||
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("movement.in","r",stdin);
freopen("movement.out","w",stdout);
ios::sync_with_stdio(0);
cin.tie(0);cout.tie(0);
string s;
cin>>s;
if(s[0]=='1'){
cout<<1<<"\n";
}else{
cout<<s.length();
}
return 0;
}