蓝桥杯算法提高VIP-单词个数统计-题解(Python代码) 摘要:解题思路:注意事项:参考代码:a=list(map(list,input().split()))print(len(a))代码太短也没办法。。。…… 题解列表 2020年11月20日 0 点赞 0 评论 605 浏览 评分:9.9
人民币问题-题解(C语言代码)只需要一层循环 摘要:```c 只需要一层循环即可。 #include int main() { int n; while(scanf("%d",&n)!=EOF) { int i,len…… 题解列表 2020年11月20日 0 点赞 0 评论 692 浏览 评分:9.9
[递归]母牛的故事-题解(C语言代码) 摘要:新手,不喜勿喷。参考代码:#include int f(int n); int main(void) { int n, x; while (scanf("%d", &n) == 1) { …… 题解列表 2020年11月20日 0 点赞 0 评论 1008 浏览 评分:9.9
[编程入门]求和训练-题解(C语言代码) 摘要:#include<stdio.h> #include<math.h> int main(void) { int a, b, c; double sum = 0, i; scanf("%…… 题解列表 2020年11月20日 0 点赞 0 评论 804 浏览 评分:9.9
C语言训练-计算t=1+1/2+1/3+...+1/n-题解(Java代码)是你想要的 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2020年11月21日 0 点赞 0 评论 843 浏览 评分:9.9
A+B for Input-Output Practice (IV)-题解(C语言代码) 摘要:解题思路:循环遍历数组注意事项:判断第一个数字是否为0参考代码:两种方法大致相同①#include<stdio.h>int main(void){ int n,number; while((scanf…… 题解列表 2020年11月21日 0 点赞 1 评论 1529 浏览 评分:9.9
A+B for Input-Output Practice (V)-题解(C语言代码) 摘要:解题思路:循环遍历注意事项:程序在满足条件后会自动结束参考代码:#include<stdio.h>int main(void){ int r,n; scanf("%d",&r); for(int i=…… 题解列表 2020年11月21日 0 点赞 0 评论 975 浏览 评分:9.9
蓝桥杯2013年第四届真题-危险系数-题解(C语言代码) 摘要:解题思路:我是菜鸡,我的想法是,关键点的含义就是从a到b的必经点。既然如此,设置一个数组x,设i为必经点,a到b有几条路径,x[i]就等于几。这样,每次深度优先搜索可以把途径的点先压入栈中,如果能达到…… 题解列表 2020年11月21日 0 点赞 0 评论 971 浏览 评分:9.9
[编程入门]宏定义之找最大数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define f(x,y,z) (x >= y ? x : y) >= z ? (x >= y ? x : y) : zfloat m…… 题解列表 2020年11月22日 0 点赞 0 评论 848 浏览 评分:9.9
求中间数-题解(C++代码)(最短) 摘要:解题思路:利用max,min注意事项:高手,新手均可用。参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b…… 题解列表 2020年11月23日 0 点赞 2 评论 1410 浏览 评分:9.9