与2无关的数 -题解(C++代码) 摘要:```cpp #include using namespace std; int main() { int n; int sum=0; cin>>n; …… 题解列表 2020年05月08日 0 点赞 0 评论 435 浏览 评分:0.0
题解 1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int …… 题解列表 2025年01月24日 0 点赞 0 评论 80 浏览 评分:0.0
注意题目要求 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c=0,d=0,e=0,f=0,sum=0; scanf("%d",&a); …… 题解列表 2024年11月23日 0 点赞 0 评论 144 浏览 评分:0.0
与2无关的数 摘要:参考代码: ```c #include int m(int a) { while(a) { int b=a%10; if(b==2) …… 题解列表 2023年10月27日 0 点赞 0 评论 186 浏览 评分:0.0
1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; bool func(int i); …… 题解列表 2023年10月08日 0 点赞 0 评论 84 浏览 评分:0.0
与2无关的数 摘要:解题思路:注意事项:n的取值范围为1000以内参考代码:#include<iostream>using namespace std;int main(){ int n,sum=0; cin…… 题解列表 2023年05月11日 0 点赞 0 评论 87 浏览 评分:0.0
与2无关的数——python 摘要:解题思路:注意事项:参考代码:def bxg(n): if '2' in str(n) or n%2 == 0: return 0 else: …… 题解列表 2023年04月05日 0 点赞 0 评论 114 浏览 评分:0.0
与2无关的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,sum = 0; scanf("%d",&n); if(n%2==0) …… 题解列表 2021年03月29日 0 点赞 0 评论 162 浏览 评分:0.0
与2无关的数 -题解(C语言代码) 摘要:解题思路:注意事项:题目的要求为不管是个位、十位、百位上的数字都不能为2 还有 i 要从1开始而不是0 参考代码:#include <stdio.h> int main…… 题解列表 2021年02月07日 0 点赞 0 评论 143 浏览 评分:0.0
与2无关的数 -题解(C语言代码)简单的函数; 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int panduan(int a){ if(a%2==0||a%10==2||a%100/10==2|…… 题解列表 2020年08月17日 0 点赞 0 评论 354 浏览 评分:0.0