【计算球体积】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double r,v,n,pi=3.1415926; while(scanf("…… 题解列表 2019年04月21日 0 点赞 0 评论 1334 浏览 评分:2.0
C语言训练-谁家孩子跑最慢* (C++代码) 摘要:解题思路: 暴力求解注意事项:参考代码:#include <iostream>#include <bits/stdc++.h>using namespace std;int main(){ co…… 题解列表 2019年04月24日 0 点赞 0 评论 455 浏览 评分:2.0
C语言训练-委派任务* (C语言代码)直接打印题目给的标准输出!! 摘要:解题思路:。。。。直接输出!!注意事项:无参考代码:#include<stdio.h>int main(){ printf("A,B,C,F,"); return 0;}…… 题解列表 2019年04月26日 0 点赞 0 评论 591 浏览 评分:2.0
蓝桥杯算法提高VIP-排列数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int a[10]={0,1,2,3,4,5,6,7,8…… 题解列表 2019年04月26日 0 点赞 0 评论 530 浏览 评分:2.0
多输入输出练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.1415int main(){ double r; int n; scanf("%d",&n); while(…… 题解列表 2019年05月01日 0 点赞 0 评论 447 浏览 评分:2.0
[编程入门]三个数找最大值 (C语言代码) 摘要:题目描述有三个整数a b c,由键盘输入,输出其中的最大的数。输入一行数组,分别为a b c输出a b c其中最大的数样例输入10 20 30样例输出30解题思路:三目运算符迭代使用注意事项:参考代码…… 题解列表 2019年05月04日 2 点赞 0 评论 658 浏览 评分:2.0
蓝桥杯算法提高VIP-01背包 (Java代码) 摘要:解题思路:解决背包问题,首先要看通俗背包如何解决,0-1背包为全背包中一种比较特殊的背包问题。区别于单个物品的取出问题。下面将黏贴两份代码,分别为全背包问题的代码以及0-1背包的问题代码。值得说的是背…… 题解列表 2019年05月05日 0 点赞 0 评论 568 浏览 评分:2.0
C语言训练-委派任务* (C语言代码) 摘要:解题思路:好奇怪的题目注意事项:参考代码:#include<stdio.h>int main(){ printf("A,B,C,F,\n"); return 0;}…… 题解列表 2019年05月05日 0 点赞 0 评论 516 浏览 评分:2.0
蓝桥杯算法提高VIP-模拟计算器 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); if(a==0&&b==2||a…… 题解列表 2019年05月15日 0 点赞 0 评论 458 浏览 评分:2.0
C语言训练-舍罕王的失算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int i; double sum=0; for(i=1;i<=64;i++)…… 题解列表 2019年05月16日 0 点赞 0 评论 552 浏览 评分:2.0