蓝桥杯基础练习VIP-龟兔赛跑预测 (C语言代码) 摘要:解题思路: 用两个int作为两个player的位置信息,通过比较位置信息进行各种功能的实现。注意事项: 一次for相当于一帧,把一个-=1放在只执行一次的地方就可以作为一个次数的判断,本例…… 题解列表 2019年04月02日 0 点赞 0 评论 777 浏览 评分:0.0
Minesweeper (C语言代码) 摘要:解题思路: 每发现一个雷, 在以雷为中心的八个位置进行加1操作注意事项: 如果你用char存储数据的话, 会面临一个棘手的问 题解列表 2019年04月02日 1 点赞 1 评论 392 浏览 评分:2.0
蓝桥杯算法提高VIP-剪刀石头布 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef enum _peak{stone,cloth,scissor} peak;typedef enum _result{wi…… 题解列表 2019年04月02日 0 点赞 0 评论 1325 浏览 评分:0.0
迷宫问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define MAX 100#define WAV 1000int map[MAX][MAX];int cx,cy,rx,ry,c,r…… 题解列表 2019年04月02日 0 点赞 0 评论 851 浏览 评分:0.0
(超短代码,你值得拥有) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; int m; int num1=0,num2=0; scanf("%d",&m); while…… 题解列表 2019年04月02日 0 点赞 0 评论 1130 浏览 评分:3.0
C++与C分别描述 摘要:________________________________________面向对象#include<iostream>using namespace std;class Time{public:…… 题解列表 2019年04月02日 0 点赞 0 评论 866 浏览 评分:0.0
C语言训练-排序问题<1> (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 5int main(){ int i,j,a[N],t=0; for(i=0;i<4;i++) …… 题解列表 2019年04月02日 0 点赞 0 评论 942 浏览 评分:0.0
数据结构-定位子串 (C++代码)---momoc 摘要:解题思路:使用KMP算法也可以过。 具体实现百度一大堆注意事项:参考代码:#include <bits/stdc++.h> using namespace std; void get_nex…… 题解列表 2019年04月02日 0 点赞 0 评论 775 浏览 评分:9.9
蓝桥杯算法提高VIP-多项式输出 (C++代码)愿天堂没有模拟 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[101]; int main() { int n; int l…… 题解列表 2019年04月02日 0 点赞 0 评论 668 浏览 评分:0.0
GC的苦恼 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<cmath> #include<alg…… 题解列表 2019年04月02日 0 点赞 0 评论 913 浏览 评分:0.0