JAVA解三个数最大值 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年10月23日 0 点赞 0 评论 340 浏览 评分:0.0
密码破译JAVA 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年10月23日 0 点赞 0 评论 400 浏览 评分:0.0
编写题解 1055: 二级C语言-进制转换 摘要:```cpp #include #include using namespace std; int main() { stacks; int a; cin >> a; …… 题解列表 2022年10月24日 0 点赞 0 评论 318 浏览 评分:0.0
编写题解 1131: C语言训练-斐波纳契数列---使用STL的方法 摘要:```cpp #include #include using namespace std; int Fabona(int a) { if (a == 0 || a == 1) …… 题解列表 2022年10月24日 0 点赞 0 评论 374 浏览 评分:0.0
成绩等级字母输出c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d",&x); switch(x/10) { case 10: case 9…… 题解列表 2022年10月24日 0 点赞 0 评论 374 浏览 评分:0.0
编写题解 2929: 网线主管 摘要:解题思路:定义一个函数用来计算绳子数量,只需要假设最后的输出结果是x,然后采用二分法计算出x的最大值注意事项:此函数的使用条件是在整数的时候,也就是把小数化成了整数,然后采用二分法,这里如何+-1是比…… 题解列表 2022年10月24日 0 点赞 0 评论 458 浏览 评分:0.0
将多位数拆解为单位数,善用整除和求余 摘要:解题思路:注意事项:参考代码:n=input()u=0##for _ in n:## print('_:',_)## if int(_)%2!=0:## u=u…… 题解列表 2022年10月24日 0 点赞 0 评论 414 浏览 评分:0.0
编写题解 1045: [编程入门]自定义函数之整数处理 摘要: #include int main() { int a[10]; int i,min=0,max=0; for(i=0…… 题解列表 2022年10月24日 0 点赞 0 评论 333 浏览 评分:0.0
题目 1029: [编程入门]自定义函数处理素数—常规求解方法 摘要:解题思路:for循环注意事项:统计因子的个数的变量a需要在for循环前初始化参考代码:#include<stdio.h> int main(void) { int i, n,a=0; …… 题解列表 2022年10月24日 0 点赞 0 评论 337 浏览 评分:0.0
吃桃问题(逆向思维找突破) 摘要:解题思路:注意事项:当N=1时,a应该=1所以i应该=i-1参考代码:#include<stdio.h>int main(){ int a=1,N; scanf("%d",&N); …… 题解列表 2022年10月24日 0 点赞 0 评论 371 浏览 评分:0.0