| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84611 | sh25_linzx | 数字判断 | C++ | 通过 | 0 MS | 248 KB | 336 | 2026-02-12 12:03:57 |
#include<iostream> using namespace std; bool isfhyq(int u){ int a; while(u){ a=u%10; if(a%2==0) return false; u=u/10; } return true; } int main(){ int n,m; cin>>n>>m; int s=0; for(int i=n;i<=m;++i){ if(isfhyq(i)) ++s; } cout<<s; return 0; }