[2013年第四届真题]危险系数-题解(C++代码)------STL,dfs 摘要:这是样例的连通图:  解题思路: 1.计算能成功到达终点的路径有多少条 2.记录每次成功到达…… 题解列表 2020年02月16日 0 点赞 5 评论 1501 浏览 评分:9.6
[编程入门]求和训练-题解(Java代码) 摘要:Scanner input=new Scanner(System.in); int a=input.nextInt(); int b=input.nextInt()…… 题解列表 2020年02月16日 0 点赞 0 评论 1450 浏览 评分:9.9
找出最长的字符串来 (C++代码)只做最简单的思路! 摘要: ````cpp #include using namespace std; int main(){ string s1,s2,s3,s4,s5; cin>>s1>>s2>>s…… 题解列表 2020年02月16日 0 点赞 0 评论 1169 浏览 评分:9.9
复习下数组指针 摘要:```c #include int main() { int a[3][3]; //小白一个,尝试练习一下hah int i,j; for(i=0;i…… 题解列表 2020年02月16日 0 点赞 0 评论 821 浏览 评分:0.0
求总时间-题解(C语言代码) 摘要: #include "stdio.h" int main() { int N,i; float t=30,sum = 0; scanf("%d",&N); for(i=…… 题解列表 2020年02月16日 0 点赞 0 评论 1063 浏览 评分:0.0
分段计算-题解(C语言代码) 摘要: #include "stdio.h" int main() { int x,y; scanf("%d",&x); if(x=3 && x…… 题解列表 2020年02月16日 0 点赞 0 评论 808 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁-题解(C语言代码) 摘要:分析:模拟就完事了 ``` #include bool map[105][105];//地图 int step[4][2]{{0,-1},{-1,0},{0,1},{1,0}};//定义四个方…… 题解列表 2020年02月16日 0 点赞 0 评论 770 浏览 评分:0.0
输出M到N的数-题解(C语言代码) 摘要: #include "stdio.h" int main() { int i,N,M; scanf("%d%d",&M,&N); if(M…… 题解列表 2020年02月16日 0 点赞 0 评论 647 浏览 评分:0.0
求阶梯水费-题解(C语言代码) 摘要: #include "stdio.h" int main() { int x,y; scanf("%d",&x); if(x…… 题解列表 2020年02月16日 0 点赞 0 评论 705 浏览 评分:0.0
蓝桥杯算法训练VIP-黑色星期五-题解(Python代码)python开荒柘,calendar模块的应用,4行代码 摘要:先上代码 ```python import calendar year=int(input()) re=[1 for i in range(1,13) if (calendar.monthra…… 题解列表 2020年02月16日 0 点赞 3 评论 1132 浏览 评分:7.3