Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
55018 万正钰 字符串的长度 C++ Accepted 2 MS 264 KB 275 2023-07-26 09:00:54

Tests(1/1):


Code:

#include <iostream> #include <cstdio> #include <string.h> using namespace std; int main() { char n[100]; int strlens(char n1[100]); cout<<strlens(n); return 0; } int strlens(char n1[100]) { gets(n1); int STRLEN=strlen(n1); return (STRLEN); }