Tom数-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ long a; int t; while(cin>>a){ t=0;…… 题解列表 2020年07月20日 0 点赞 0 评论 454 浏览 评分:8.0
盐水的故事-题解(C语言代码) 摘要:```c #include #include #include void main() { double sum,v,d,num=0,temp; scanf("%lf%lf",&v,…… 题解列表 2020年07月20日 0 点赞 0 评论 710 浏览 评分:9.9
绝对值排序-题解(C语言代码) 摘要:#include<stdio.h> #include<math.h> int main(){ int n; int a[100]; while(~scanf("%d",&n))…… 题解列表 2020年07月20日 0 点赞 0 评论 623 浏览 评分:0.0
蓝桥杯基础练习-特殊回文数-题解(C语言代码) 摘要:``` #include int main() { int n, i, x; int a1,a2,a3,a4,a5,a6; scanf("%d",&n); for(i=10…… 题解列表 2020年07月20日 0 点赞 0 评论 452 浏览 评分:0.0
蓝桥杯基础练习-十六进制转八进制 -题解(C语言代码) 摘要:``` #include int main() { int n; scanf("%d",&n); for(int i=0;i…… 题解列表 2020年07月20日 0 点赞 1 评论 1394 浏览 评分:6.8
蓝桥杯算法提高VIP-卡勒沃夫之弱水路三千(提高型)-题解(Python代码) 摘要:解题思路:用拓扑排序注意事项:参考代码:from collections import defaultdict class Graph: def __init__(self,ver…… 题解列表 2020年07月20日 0 点赞 1 评论 379 浏览 评分:9.9
[编程入门]自定义函数之整数处理-题解(Python代码) 摘要:参考代码:a = list(map(int,input().strip().split()))for i in a : if i == max(a): a[a.index(max(…… 题解列表 2020年07月20日 0 点赞 0 评论 985 浏览 评分:9.9
蓝桥杯历届试题-连号区间数-题解(耗时较少)(C++代码) 摘要:解题思路:其实题目很简单,外层的双重遍历是肯定少不了的,问题就是你在遍历之后进行判断的方法:错误示范:用sort排序,这样耗时太长,会超时。其实对于这道题目因为他的数是连续的,所以比较简单,我们可以利…… 题解列表 2020年07月20日 0 点赞 0 评论 825 浏览 评分:9.9
C语言训练-谁家孩子跑最慢* -题解(C语言代码) 摘要:解题思路:用L1、L2表示李家剩下的两个孩子, 用W1、W2表示李家剩下的两个孩子。定义:L1>L2,W1>W2.由题意知:(1)L1+L2=6,W1+W2=7;(2)L1-L2!=1,W1-W2!=…… 题解列表 2020年07月20日 0 点赞 0 评论 737 浏览 评分:6.0
[编程入门]求和训练-题解(C语言代码) 摘要:#include <stdio.h> #include<math.h> int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); float …… 题解列表 2020年07月20日 0 点赞 0 评论 661 浏览 评分:9.9