Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6252 黄言岐 统计数字字符个数 C++ Runtime Error 0 MS 264 KB 329 2025-01-16 14:04:49

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char b[256]; cin>>b-1; cout<<strlen(b)<<endl; return 0; }


Run Info:

Runtime Error:Segmentation fault