Minesweeper (C语言代码) 摘要:解题思路:因为本人比较喜欢玩扫雷,所以就写了这篇题解哈哈。我的做法就是,读入雷区后把非雷的格子赋0,对雷区进行遍历,以每一个格子为中心,找其周围的8个格(有时候3个格或5个格),如果有雷,该格自加。注…… 题解列表 2017年12月07日 3 点赞 0 评论 1546 浏览 评分:9.9
孤独的骑士 (C语言代码) 摘要:解题思路:分情况讨论注意事项:参考代码:#include <stdio.h>int main(void){ int i, n, x, y, count; char c; scanf("%d", &n)…… 题解列表 2017年12月09日 0 点赞 0 评论 1475 浏览 评分:9.9
WU-蓝桥杯基础练习VIP-龟兔赛跑预测 (C++代码) 摘要:从时间的角度来考虑问题参考代码:#include<iostream> using namespace std; int main() { int v1,v2,t,s,l; while…… 题解列表 2017年12月22日 4 点赞 0 评论 1490 浏览 评分:9.9
WU-数组替换 (C++代码) 摘要:这题按照正常的思路来写 的话就行 但需要考虑到一个问题就是当m1,n1为0 0的时候的这种特殊期况 当n1为0的时候 我们应该直接输出数组a 还有就是要注意格式的问题 两个数之间间隔一个…… 题解列表 2017年12月10日 7 点赞 2 评论 1199 浏览 评分:9.9
WU-两条直线 (C++代码)唯一题解!!!! 摘要:解题思路:这题有一定的难度 需要一定的时间来理解参考代码:#include<iostream> #include<algorithm> #include<cstdio> #in…… 题解列表 2017年12月11日 4 点赞 1 评论 2540 浏览 评分:9.9
三角形 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int t,n,i,j,a[100][100]; scanf("%d",&t); while(t--) { s…… 题解列表 2017年12月12日 0 点赞 0 评论 1009 浏览 评分:9.9
蓝桥杯历届试题-核桃的数量 (C++代码) 摘要:#include<iostream>using namespace std;int main(){ int a,b,c,d; while(cin>>a>>b>>c){ d=0…… 题解列表 2017年12月13日 2 点赞 0 评论 1412 浏览 评分:9.9
C语言训练-求素数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,z; scanf("%d",&x); for(y…… 题解列表 2017年12月14日 0 点赞 0 评论 923 浏览 评分:9.9
汪汪与打针 (C语言代码) 摘要:参考代码:#include <stdio.h> #define M 120 #define G 100 int main(void) { int a,b; while(sc…… 题解列表 2017年12月14日 43 点赞 3 评论 1222 浏览 评分:9.9
做幻方 (C语言代码) 摘要:解题思路: 令第一行中间的数为1,然后按箭头循环,最后倒序输出。 参考代码:#include <stdio.h> int main() { int n, i, j,…… 题解列表 2017年12月15日 2 点赞 0 评论 2376 浏览 评分:9.9