Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82657 sh25_zhuhy 数字判断 C++ 运行超时 1000 MS 232 KB 309 2026-01-16 19:09:15

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; int s=0; for(int i=n;i<=m;++i){ bool b=true; while(i!=0){ if(i%10%2==0) b=false; i=i/10; } if(b==true) ++s; } cout<<s; return 0; }


测评信息: