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