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;
// Hello world
int main() {
char s[15];
cin >> s; // 原因:Hello world中存在空格,而cin会只读取前半部分Hello,所以长度是5
cout << strlen(s);
return 0;
}