模拟过程,注意判断条件 摘要:解题思路:注意事项:参考代码:T = int(input()) for _ in range(T): n = int(input()) matrix = [list(inpu…… 题解列表 2022年03月27日 0 点赞 0 评论 305 浏览 评分:0.0
[编程入门]水仙花数判断 摘要:解题思路:将三位数每一位分离出来是重点注意事项:参考代码:for i in range(100,1000): a=i%10 b=(i%100)/10 c=i/100 if i=…… 题解列表 2022年03月27日 0 点赞 0 评论 362 浏览 评分:0.0
1098: 陶陶摘苹果题解 摘要:解题思路:这题很简单,我们需要一个数组a[10]来统计每个苹果距离地面的高度,然后判断陶陶把手伸直的时候能够达到的最大高度加上板凳的高度30是否大于每个苹果距离地面的高度,如果大于,计数器就自加,输出…… 题解列表 2022年03月27日 0 点赞 0 评论 439 浏览 评分:0.0
二级C语言-计负均正(c语言代码) 摘要:解题思路: 因为需要输入20个数,故定义一个整型数组来储存; 用一个court来计算负数的个数,每检测到一个负数,court+1; &n 题解列表 2022年03月27日 0 点赞 0 评论 521 浏览 评分:0.0
编写题解 1585: 蓝桥杯算法训练VIP-链表数据求和操作 C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct Node { int data; //实部 int data1; …… 题解列表 2022年03月27日 0 点赞 0 评论 384 浏览 评分:0.0
陶陶摘苹果之遍历数组 摘要:解题思路: 用最大高度加上30cm之后 遍历数组中的十个数字 能满足就计数加一 注意事项:参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2022年03月27日 0 点赞 0 评论 533 浏览 评分:0.0
2266: 蓝桥杯2015年第六届真题-打印大X 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m; char a[1000][1000] = { ' ' }; scanf("%…… 题解列表 2022年03月27日 0 点赞 0 评论 483 浏览 评分:0.0
数字的处理与判断(C语言) 摘要:解题思路:先尝试把每一位数分离出来,剩下就容易了注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,n,place; scanf("%d",&n)…… 题解列表 2022年03月27日 0 点赞 0 评论 551 浏览 评分:0.0
编写题解 1149: C语言训练-计算1~N之间所有奇数之和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int sum =0; cin>>n;…… 题解列表 2022年03月27日 0 点赞 0 评论 419 浏览 评分:0.0
编写题解 1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>using namespace std;int main(){ int n; int …… 题解列表 2022年03月27日 0 点赞 0 评论 370 浏览 评分:0.0