暴力解法(凑字数。。。。。。。 摘要:解题思路:注意事项:参考代码:def shu(gewei,ci): if ci==1: return gewei else: return gewei*10*…… 题解列表 2022年12月30日 0 点赞 0 评论 307 浏览 评分:0.0
最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[1000],i,n,max=0; scanf("%d",&n); fo…… 题解列表 2022年12月30日 0 点赞 2 评论 547 浏览 评分:9.5
求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10000],i,n; double ave,s=0; scanf("…… 题解列表 2022年12月30日 0 点赞 0 评论 1560 浏览 评分:9.8
简单易懂(狗头) 摘要:解题思路:注意事项: 本题求解的是血压连续正常的最长小时数,连续正常!连续正常!连续正常!意思是一旦不正常,前面算正常的时间都需要重新算起。所以本题要建立一个数组,用以保存每一次的flag值,以防数…… 题解列表 2022年12月30日 0 点赞 0 评论 594 浏览 评分:8.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],i,ave,s=0; scanf("%d",&n); fo…… 题解列表 2022年12月30日 0 点赞 0 评论 308 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long x,y; char a; scanf("%lld%lld",&x,&…… 题解列表 2022年12月30日 0 点赞 0 评论 484 浏览 评分:0.0
1126: C语言训练-字符串正反连接 摘要:解题思路:解1;先反转字符串,再合并正反字符串,后输出(更严谨)。解2;先正着输出字符串,再反着输出字符串(简单暴力);注意事项:参考代码:代码1;#include<stdio.h>#include<…… 题解列表 2022年12月30日 0 点赞 0 评论 478 浏览 评分:0.0
水仙花数判断 摘要:解题思路:注意事项:萌新上路,请各位大佬指点;参考代码:方法一:运用字符与数字之间的相互转换,这个有点繁琐。public class Main { public static void main…… 题解列表 2022年12月30日 0 点赞 0 评论 974 浏览 评分:9.9
c语言,运用中间变量置换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() {double n,…… 题解列表 2022年12月30日 0 点赞 0 评论 506 浏览 评分:0.0
超简单逻辑代码 摘要:解题思路:输出结果时代表行列的i,n互换位置注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[3][3],i,n; f…… 题解列表 2022年12月30日 0 点赞 0 评论 341 浏览 评分:0.0