This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#include <bits/stdc++.h>
using namespace std;
const int N = 110;
char a[N];
int main() {
scanf("%s", a + 1); //输入abcdef,共6个字符,放过下标为0的位置,从下标为1开始
int len = strlen(a + 1); //含义:从a下标偏移为1开始,计算到末尾\0的长度
printf("%d", len); //输出答案:6,理解:让从1开始,到末尾,尾巴在哪里自己找,计算返回长度
return 0;
}