编写题解 3011: 余数相同问题编写题解 3011: 余数相同问题编写题解 3011: 余数相同问题编写题解 3011: 余数相同问题编写题解 3011: 余数相同问题编写题解 3011: 余数相同 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,c; cin>>a>>b>…… 题解列表 2024年01月14日 0 点赞 0 评论 413 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路: 注意事项:判断能否摘到苹果一定是大于等于哦参考代码:#include<stdio.h>#define APPLENUMBER 10int main(){ int bench_heig…… 题解列表 2024年01月14日 0 点赞 0 评论 486 浏览 评分:0.0
2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, m, count; int a[100] = {0}; scanf("%d",…… 题解列表 2024年01月14日 0 点赞 0 评论 480 浏览 评分:0.0
编写题解 2830: 数字统计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main(){ int l,r,sum=0; cin>>l…… 题解列表 2024年01月13日 0 点赞 0 评论 647 浏览 评分:0.0
蓝桥杯算法提高VIP-素数求和 (Java代码) ```javaimportjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){//素数筛法Scannersc=newScanner(System.in);intsum=0;intn=sc.nextInt();intj 题解列表 2024年01月12日 0 点赞 0 评论 493 浏览 评分:0.0
二级C语言-平均值计算 摘要:解题思路:1、确定是数组问题2、计算这10个数的平均数3、计算大于平均数的个数参考代码:#include<stdio.h> int main() { //输入10个数的整型数组 int…… 题解列表 2024年01月11日 1 点赞 0 评论 779 浏览 评分:9.9
题解 2810: 鸡尾酒疗法 解题思路:输入个数与原疗法,再写个for来循环新疗法,再整个if输出就行了注意事项:循环的数量是个数-1.最后一个if要写else,否则不成立。要用doubled定义变量。参考代码:#includeusingnamespacestd;intmain(){doublen, 题解列表 2024年01月11日 0 点赞 0 评论 782 浏览 评分:7.3
更相减损法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,z,a; scanf("%d %d",&x,&y); a = x*y; …… 题解列表 2024年01月11日 0 点赞 0 评论 522 浏览 评分:9.9
最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ short number, max_score = 0; short *p; scanf("%hd…… 题解列表 2024年01月11日 0 点赞 0 评论 394 浏览 评分:0.0
指针数组的方式求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number, total = 0; int *p; scanf("%d", &numbe…… 题解列表 2024年01月11日 0 点赞 0 评论 718 浏览 评分:9.9