蓝桥杯算法提高VIP-最大最小值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[10000];int main(){ int n,i,max,min; scanf("%d",&n); …… 题解列表 2023年01月09日 0 点赞 0 评论 397 浏览 评分:0.0
[编程入门]结构体之时间设计 解题思路:用循环嵌套解决注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);intn=sc.nextInt();intm 题解列表 2023年01月09日 0 点赞 0 评论 655 浏览 评分:9.9
2760: 整型与布尔型的转换 摘要:```cpp #include using namespace std; int main() { int a; bool b; cin>>a; b=a…… 题解列表 2023年01月09日 0 点赞 0 评论 863 浏览 评分:9.9
2908: 白细胞计数 ```cpp#include#include#includeusingnamespacestd;intmain(){intn;floatnum=0,a[301];cin>>n;for(inti=0;i>a[i];sort(a,a+n);for(inti=1;i 题解列表 2023年01月09日 0 点赞 1 评论 741 浏览 评分:9.9
直接提交,不用任何操作 当你点开这个题目,你就可以提交了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 题解列表 2023年01月09日 1 点赞 0 评论 701 浏览 评分:9.9
二级C语言-公约公倍(水题) 摘要:解题思路:注意事项:参考代码#include <stdio.h>int gcd(int x,int y){ int r; r=x%y; do{ x=y; y=r; r=x%y; }while(r…… 题解列表 2023年01月09日 0 点赞 0 评论 488 浏览 评分:9.9
虽然简单但是注意的问题多 解题思路:看到这题,直接数组加for语句,max,min值比较就行注意事项:max,min的定义顺序很重要,你要是直接定义max,min各自=0,代入其他的数(非零的),就错误了。须得把max,min分别代入数组第一个数进行比较。参考代码:#includeintmain(){intn 题解列表 2023年01月09日 0 点赞 1 评论 972 浏览 评分:9.9
【Python题解】蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:参考代码:a, b, n = map(int, input().split()) finish_week = 5 * a + 2 * b # 计算一周的完成题量 weeks = n // …… 题解列表 2023年01月09日 0 点赞 1 评论 1010 浏览 评分:8.4
求整数的和与均值 注重细节就行 摘要:解题思路:scanf输入,for语句应用,算数格式一致注意事项:注意整数与小数的统一参考代码:#include<stdio.h>int main(){ int n,a,sum=0; dou…… 题解列表 2023年01月09日 0 点赞 0 评论 595 浏览 评分:0.0
时间超限来看 有注释!!! 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,num,a[10001]; int f1(int n){ if(a[n]…… 题解列表 2023年01月09日 0 点赞 0 评论 981 浏览 评分:9.9