二级C语言-计算素数和 注意处理数字1 摘要: 解题思路:遍历 2~x-1 检查isprime?遍历 m~n 求和处理数字 1 注意事项: 数字 1既不质数也不是合数。参考代码:#include<stdio.h>int …… 题解列表 2021年03月30日 0 点赞 0 评论 736 浏览 评分:0.0
编写题解 2263: 蓝桥杯2015年第六届真题-饮料换购 <笔记> 摘要:#include<iostream> using namespace std; int fun(int n) { int sum = n; int a, b; while (1) { …… 题解列表 2021年03月30日 0 点赞 0 评论 613 浏览 评分:0.0
身份证号码升级-题解(C++代码) 摘要:解题思路:字符串注意事项:字符串和数字的转换参考代码:#include <iostream> #include <cstring> using namespace std; char s1[20…… 题解列表 2021年03月30日 0 点赞 0 评论 1033 浏览 评分:0.0
数学的图表 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,sum = 0; while(scanf("%d",&n)!=EOF) { …… 题解列表 2021年03月30日 0 点赞 0 评论 547 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路: 能同时被那三个数整除,也就是被他们的最小公倍数整除即可 因此,也可以从最小公倍数开始循环注意事项:参考代码:#include <stdio.h> int main() { …… 题解列表 2021年03月30日 0 点赞 0 评论 709 浏览 评分:0.0
统计字符数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n,i,j=0,max=0,letter; char s…… 题解列表 2021年03月30日 0 点赞 0 评论 608 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int count = 0; //统计负数个数 double aver = 0;/…… 题解列表 2021年03月30日 0 点赞 0 评论 486 浏览 评分:0.0
最大乘积java 摘要:import java.util.Scanner; public class Main{ static int max = -9999999;//定义一个最大值与每次结果比较 …… 题解列表 2021年03月30日 0 点赞 0 评论 692 浏览 评分:0.0
角谷猜想----java语言 摘要:import java.util.Scanner; public class Main{ public static void main(String[] args) { …… 题解列表 2021年03月30日 0 点赞 0 评论 1016 浏览 评分:0.0
纯代码无注释 摘要:```cpp #include #include using namespace std; int main() { int n,a,b; cin>>n; while(n--)…… 题解列表 2021年03月30日 0 点赞 0 评论 706 浏览 评分:0.0