蓝桥杯基础练习VIP-龟兔赛跑预测,满分答案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int v1, v2, s, t, l; scanf("%d %d %d %d %d", &v1, …… 题解列表 2023年04月13日 0 点赞 0 评论 229 浏览 评分:0.0
输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; c…… 题解列表 2023年04月13日 0 点赞 0 评论 162 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:质数、素数之前写过很多和它有关的程序这个题我用到了max(a,b)这个函数,将较大的那个值赋值给变量maxPrime注意事项:参考代码:#include <iostream> #inclu…… 题解列表 2023年04月13日 0 点赞 0 评论 232 浏览 评分:0.0
2771: 大象喝水 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main32 { public static void main(String[] ar…… 题解列表 2023年04月13日 1 点赞 0 评论 247 浏览 评分:0.0
计算三角形面积 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc=new Sc…… 题解列表 2023年04月13日 0 点赞 0 评论 264 浏览 评分:0.0
苹果和虫子 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc=new Sca…… 题解列表 2023年04月13日 0 点赞 0 评论 300 浏览 评分:0.0
2832: 第n小的质数 摘要:解题思路:可以定义一个数组用于存放所有小于10000的质数,自定义函数isPrime()这个自定义函数来判断一个数是不是质数,如果是就赋值给数组注意事项:参考代码:#include <iostream…… 题解列表 2023年04月14日 0 点赞 0 评论 179 浏览 评分:0.0
大数据使用数组存储 摘要:解题思路: 注意进位即可 注意事项:无 参考代码: #include <stdio.h> #include <string.h> const int N= 10001; int C[10…… 题解列表 2023年04月14日 0 点赞 0 评论 150 浏览 评分:0.0
2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ //输入第一行 int n; cin>>n; …… 题解列表 2023年04月14日 0 点赞 0 评论 209 浏览 评分:0.0
编写题解 1400: 教学楼的楼梯 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int climbStairs(int n); int main() { int n; int input …… 题解列表 2023年04月14日 0 点赞 0 评论 250 浏览 评分:0.0