Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
46973 ☩Deutschland☩ 数位和为偶数的数 C++ 通过 0 MS 244 KB 169 2024-05-09 21:31:35

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ if((i%10+i/10)%2==0){ cout<<i<<" "; } } return 0; }


测评信息: