Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155117 张蔚林 统计数字字符个数 C++ Time Limit Exceeded 1000 MS 264 KB 222 2026-05-31 15:13:44

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char a[256]={}; int a1=0,sum=0; cin.getline(a,256); while(a[a1]!='\0') for(int i=0;i<a1;i++){ if(a[i]>='0'&&a[i]<='9'){ } } return 0; }