蓝桥杯算法训练VIP-整数平均值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,n; scanf("%d",&n); int a[n],sum=0,*p; …… 题解列表 2019年05月23日 0 点赞 0 评论 772 浏览 评分:0.0
优质题解 题解 1675:使用string类(超简单)-----momoc 摘要:解题思路:使用string类能减少大量的比较代码,在操作增删改查时,可以把一个字符串看作一个字符来操作。为什么可以这样想?请看附带string知识:代码用到的知识已标出。不多说看代码。本人蒟蒻一枚。有…… 题解列表 2019年05月23日 3 点赞 0 评论 1468 浏览 评分:8.7
数字整除 (Java代码) 摘要:解题思路:大整数解决思路注意事项:直接上代码,注意事项将在代码中注释参考代码:import java.math.BigInteger; import java.util.Scanner; pu…… 题解列表 2019年05月23日 0 点赞 0 评论 875 浏览 评分:0.0
C语言训练-排序问题<2> (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<cmath> #include<alg…… 题解列表 2019年05月23日 0 点赞 0 评论 547 浏览 评分:0.0
数据结构-有序线性表的有序合并 (C++代码)----momoc 摘要:解题思路:数组模拟 ,然后排序即可。注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int a[10000]; int mai…… 题解列表 2019年05月23日 1 点赞 0 评论 1296 浏览 评分:2.0
数据结构-集合union (C++代码)----momoc 摘要:解题思路:水一波题解注意事项:参考代码:#include <bits/stdc++.h> using namespace std; vector <int>a,b; int d[1000]; …… 题解列表 2019年05月23日 1 点赞 0 评论 996 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:记得考虑代码鲁棒性,即isprime函数调用时n值的判断,否则会运行出错。参考代码:#include <stdio.h>int isprime(int n){ if(n<2)ret…… 题解列表 2019年05月23日 0 点赞 0 评论 1028 浏览 评分:0.0
弟弟的作业 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 200int main(){ char b[N],d[N]; int a[N],c[N],s[N]; int i=0…… 题解列表 2019年05月22日 0 点赞 0 评论 687 浏览 评分:0.0
蓝桥杯算法提高VIP-最大乘积 (C++代码) 摘要: 分类讨论即可参考代码:#ifndef LOCAL #include <bits/stdc++.h> #endif constexpr auto Inf = 0X3F3F3…… 题解列表 2019年05月22日 0 点赞 0 评论 1444 浏览 评分:2.0