数字整除 (Java代码) 摘要:解题思路:大整数解决思路注意事项:直接上代码,注意事项将在代码中注释参考代码:import java.math.BigInteger; import java.util.Scanner; pu…… 题解列表 2019年05月23日 0 点赞 0 评论 870 浏览 评分:0.0
C语言训练-排序问题<2> (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<cmath> #include<alg…… 题解列表 2019年05月23日 0 点赞 0 评论 542 浏览 评分:0.0
数据结构-有序线性表的有序合并 (C++代码)----momoc 摘要:解题思路:数组模拟 ,然后排序即可。注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int a[10000]; int mai…… 题解列表 2019年05月23日 1 点赞 0 评论 1289 浏览 评分:2.0
数据结构-集合union (C++代码)----momoc 摘要:解题思路:水一波题解注意事项:参考代码:#include <bits/stdc++.h> using namespace std; vector <int>a,b; int d[1000]; …… 题解列表 2019年05月23日 1 点赞 0 评论 995 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:记得考虑代码鲁棒性,即isprime函数调用时n值的判断,否则会运行出错。参考代码:#include <stdio.h>int isprime(int n){ if(n<2)ret…… 题解列表 2019年05月23日 0 点赞 0 评论 1025 浏览 评分: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 评论 681 浏览 评分:0.0
蓝桥杯算法提高VIP-最大乘积 (C++代码) 摘要: 分类讨论即可参考代码:#ifndef LOCAL #include <bits/stdc++.h> #endif constexpr auto Inf = 0X3F3F3…… 题解列表 2019年05月22日 0 点赞 0 评论 1436 浏览 评分:2.0
数据结构-平衡二叉树的基本操作 (C++代码) 摘要: Splay,以及所有基础操作参考代码:#ifndef LOCAL #include <bits/stdc++.h> #endif constexpr auto Inf = 0X…… 题解列表 2019年05月22日 0 点赞 0 评论 1191 浏览 评分:9.9
蓝桥杯2013年第四届真题-打印十字图 (C语言代码) 摘要:解题思路: 首先要计算n=1的时候长宽和n的关系。 在计算n=2的,n=3的,找到n与长宽关系。 之后先把n=1的逐行打印出来。 &nb 题解列表 2019年05月22日 0 点赞 0 评论 820 浏览 评分:0.0