蓝桥杯算法提高VIP-数组输出 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][4],i,j,max,h=0,l=0; for(i=0;i<3;i++) for(j=0;j…… 题解列表 2019年05月14日 0 点赞 0 评论 810 浏览 评分:0.0
教学楼的楼梯 (C语言代码) 摘要:解题思路:无脑暴力。注意第一级楼梯的时候,也算有一种走法,不知道为什么注意事项:参考代码:#include<stdio.h>int main(){ int M[40],k,i,j,N,n,c=0,b[…… 题解列表 2019年05月14日 1 点赞 0 评论 984 浏览 评分:0.0
蓝桥杯2017年第八届真题-分考场 (C语言代码)详细注释 摘要:解题思路:其实就是图的着色问题:给定顶点数和边,求至少需要多少种颜色对图进行涂色能是相邻顶点颜色不同。注意事项:参考代码:#include <cstdio> const int N = 105; …… 题解列表 2019年05月13日 10 点赞 0 评论 2340 浏览 评分:9.9
[编程入门]自定义函数之通用位移 (C++代码)又双水了一题--附快捷方法 摘要:解题思路: 本题目需要注意如下事项:使用unsigned int 类型,不适用的话会产生错误使用while循环做位数判断控制,理论上n多大都可以的,因为循环可以进行判重,n>=32可以通过取余数…… 题解列表 2019年05月13日 0 点赞 0 评论 2219 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[100]; int i,len; …… 题解列表 2019年05月13日 1 点赞 1 评论 550 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; int N; scanf("%…… 题解列表 2019年05月13日 0 点赞 0 评论 1158 浏览 评分:0.0
[编程入门]自定义函数之数字后移 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s[100],n,i,m,m1; scanf("%d",&n); for(i=0;i<n;i++) { …… 题解列表 2019年05月13日 0 点赞 0 评论 1037 浏览 评分:0.0
蓝桥杯2014年第五届真题-生物芯片 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { …… 题解列表 2019年05月13日 1 点赞 0 评论 1153 浏览 评分:6.0
教学楼的楼梯 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long fun(int M){ if(M==1||M==2) return 1; else return fun(M-1)+fun(M…… 题解列表 2019年05月13日 0 点赞 0 评论 1106 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ char num[100]; char name[100]; int grade1; int grade…… 题解列表 2019年05月13日 0 点赞 0 评论 1198 浏览 评分:0.0