比赛 期末考试0 评测结果 WWWAWWWWWW
题目名称 Sayaku,移动 最终得分 10
用户昵称 梦那边的美好ME 运行时间 0.028 s
代码语言 C++ 内存使用 3.72 MiB
提交时间 2026-02-07 11:02:49
显示代码纯文本
#include <bits/stdc++.h>
using namespace std;
#define ll long long

string s;

int main(){
    freopen("movement.in","r",stdin);
    freopen("movement.out","w",stdout);
    ios::sync_with_stdio(0);
    cin.tie(0);cout.tie(0);
    cin>>s;
    if (s[0]==1){
        cout<<1;
    }else{
        cout<<s.length();
    }
    
    return 0;
}