Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
14909 | 王子策 | 利用指针编写strlen函数 | C++ | Accepted | 3 MS | 716 KB | 154 | 2021-07-08 20:15:18 |
#include <iostream> #include <cstring> using namespace std; char a[1001005]; int main() { cin >> a; int x = strlen(a); cout << x; return 0; }