[编程入门]三个数最大值 (C语言代码) 摘要:解题思路:就是比大小,简单粗暴注意事项:无参考代码:#include<stdio.h> int main(){ int a,b,c,r; scanf("%d %d %d",&a,&b,&c); …… 题解列表 2019年05月23日 0 点赞 0 评论 1787 浏览 评分:0.0
[编程入门]第一个HelloWorld程序! (C语言代码) 摘要:解题思路:直接输出注意事项:注意别忘了换行符哦!参考代码:#include<stdio.h> int main(){ printf("**************************\nHel…… 题解列表 2019年05月23日 1 点赞 0 评论 1523 浏览 评分:0.0
[竞赛入门]简单的a+b (C语言代码) 解题思路:利用scanf()函数的返回值,实现每接收两个数,就输出他们的和。注意事项:本题注意scanf函数的返回值就行了,有n个变量接收到了相应的值,那么scanf()函数就返回n。参考代码:#includeintmain(){inta, 题解列表 2019年05月23日 1 点赞 0 评论 1252 浏览 评分:0.0
数据结构-n阶Hanoi塔问题 (C++代码)---momoc 摘要:解题思路:水题。注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int step = 1; void move(char x,in…… 题解列表 2019年05月23日 1 点赞 0 评论 1638 浏览 评分:9.9
蓝桥杯算法训练VIP-整数平均值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,n; scanf("%d",&n); int a[n],sum=0,*p; …… 题解列表 2019年05月23日 0 点赞 0 评论 1227 浏览 评分:0.0
优质题解 题解 1675:使用string类(超简单)-----momoc 解题思路:使用string类能减少大量的比较代码,在操作增删改查时,可以把一个字符串看作一个字符来操作。为什么可以这样想?请看附带string知识:代码用到的知识已标出。不多说看代码。本人蒟蒻一枚。有什么不懂可以私信我。注意事项:删除时要覆盖、插入时要往后移动参考代码:#include 题解列表 2019年05月23日 3 点赞 0 评论 2088 浏览 评分:8.7 数字整除 (Java代码) 摘要:解题思路:大整数解决思路注意事项:直接上代码,注意事项将在代码中注释参考代码:import java.math.BigInteger; import java.util.Scanner; pu…… 题解列表 2019年05月23日 0 点赞 0 评论 1683 浏览 评分:0.0 C语言训练-排序问题<2> (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<cmath> #include<alg…… 题解列表 2019年05月23日 0 点赞 0 评论 950 浏览 评分:0.0 数据结构-有序线性表的有序合并 (C++代码)----momoc 摘要:解题思路:数组模拟 ,然后排序即可。注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int a[10000]; int mai…… 题解列表 2019年05月23日 1 点赞 0 评论 2167 浏览 评分:2.0 数据结构-集合union (C++代码)----momoc 摘要:解题思路:水一波题解注意事项:参考代码:#include <bits/stdc++.h> using namespace std; vector <int>a,b; int d[1000]; …… 题解列表 2019年05月23日 1 点赞 0 评论 1724 浏览 评分:0.0 « 12...4640464146424643464446454646...59235924 »
数字整除 (Java代码) 摘要:解题思路:大整数解决思路注意事项:直接上代码,注意事项将在代码中注释参考代码:import java.math.BigInteger; import java.util.Scanner; pu…… 题解列表 2019年05月23日 0 点赞 0 评论 1683 浏览 评分:0.0
C语言训练-排序问题<2> (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<cmath> #include<alg…… 题解列表 2019年05月23日 0 点赞 0 评论 950 浏览 评分:0.0
数据结构-有序线性表的有序合并 (C++代码)----momoc 摘要:解题思路:数组模拟 ,然后排序即可。注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int a[10000]; int mai…… 题解列表 2019年05月23日 1 点赞 0 评论 2167 浏览 评分:2.0
数据结构-集合union (C++代码)----momoc 摘要:解题思路:水一波题解注意事项:参考代码:#include <bits/stdc++.h> using namespace std; vector <int>a,b; int d[1000]; …… 题解列表 2019年05月23日 1 点赞 0 评论 1724 浏览 评分:0.0