蓝桥杯基础练习VIP-芯片测试c++ 摘要:```cpp #include using namespace std; const int N = 20; int a[N][N],s[N],n; int main() { cin >…… 题解列表 2022年03月04日 2 点赞 0 评论 501 浏览 评分:0.0
蚂蚁感冒解题方法 摘要:解题思路:注意题目中说明第一个输入的数据为感冒的蚂蚁,正数为向右移动的蚂蚁,负数为向左移动的蚂蚁如果两只相邻的蚂蚁是同向移动,是不会相遇的,也就是不会掉头用给出的案例来讲解下-10 8 -20 12 …… 题解列表 2022年03月04日 0 点赞 0 评论 321 浏览 评分:0.0
1004: [递归]母牛的故事 C++丐版斐波那契打表题解 摘要:解题思路:看清楚题目就能明白这是一个魔改版的兔子(Fibonacci)数列,我愿称之为母牛数列我们不去深究到底是如何是如何魔改的(因为太懒了不想去想),只需要要知道,母球们发育周期为四年,而第N年的母…… 题解列表 2022年03月04日 0 点赞 0 评论 507 浏览 评分:6.0
1238: 演讲大赛评分 摘要:解题思路:注意事项:参考代码:while True: try: ls=list(map(str,input().split())) name=ls[-1]…… 题解列表 2022年03月04日 0 点赞 0 评论 338 浏览 评分:9.0
编写题解 1016: [编程入门]水仙花数判断--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i; for(i=100; i<1000; i++){ a = i…… 题解列表 2022年03月04日 0 点赞 0 评论 340 浏览 评分:0.0
【入门】求和训练 c语言 摘要:解题思路:while loop注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i=1,n=1; float sum=0,m=1.0; …… 题解列表 2022年03月04日 0 点赞 2 评论 354 浏览 评分:9.9
编写题解 1013: [编程入门]Sn的公式求和--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int n,An=0,Sn=0; scanf("%d",&n); while(n!=0){ …… 题解列表 2022年03月04日 0 点赞 0 评论 363 浏览 评分:0.0
编写题解 1237: 求组合数 摘要:解题思路:注意事项:参考代码:def get(x): s= 1 for i in range(1,x+1): s *= i return s 题解列表 2022年03月04日 0 点赞 0 评论 426 浏览 评分:9.9
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:def dayu(b,c,d): g = (-c + f) / (2 * b) h = (-c - f) / (2 * b) print("x1={:.…… 题解列表 2022年03月04日 0 点赞 0 评论 434 浏览 评分:0.0
编写题解 1235: 检查金币 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) for a in range(9,12): &nb 题解列表 2022年03月04日 0 点赞 1 评论 312 浏览 评分:4.0