编写题解 1148: C语言训练-计算1977! 摘要:```c #include #define NUM 10000 #define N 100 int main() { int a[NUM]; int digit = 1; f…… 题解列表 2022年10月23日 0 点赞 0 评论 301 浏览 评分:0.0
求圆的面积 摘要:解题思路: 注意事项:注意要写#include<iomanip>头文件参考代码:#include<iostream>#include<iomanip>using namespace std;int m…… 题解列表 2022年10月23日 0 点赞 0 评论 307 浏览 评分:0.0
JAVA解三个数最大值 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年10月23日 0 点赞 0 评论 286 浏览 评分:0.0
密码破译JAVA 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年10月23日 0 点赞 0 评论 340 浏览 评分:0.0
编写题解 1055: 二级C语言-进制转换 摘要:```cpp #include #include using namespace std; int main() { stacks; int a; cin >> a; …… 题解列表 2022年10月24日 0 点赞 0 评论 276 浏览 评分: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 评论 323 浏览 评分: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 评论 308 浏览 评分:0.0
编写题解 2929: 网线主管 摘要:解题思路:定义一个函数用来计算绳子数量,只需要假设最后的输出结果是x,然后采用二分法计算出x的最大值注意事项:此函数的使用条件是在整数的时候,也就是把小数化成了整数,然后采用二分法,这里如何+-1是比…… 题解列表 2022年10月24日 0 点赞 0 评论 400 浏览 评分:0.0
将多位数拆解为单位数,善用整除和求余 摘要:解题思路:注意事项:参考代码:n=input()u=0##for _ in n:## print('_:',_)## if int(_)%2!=0:## u=u…… 题解列表 2022年10月24日 0 点赞 0 评论 345 浏览 评分:0.0
编写题解 1045: [编程入门]自定义函数之整数处理 摘要: #include int main() { int a[10]; int i,min=0,max=0; for(i=0…… 题解列表 2022年10月24日 0 点赞 0 评论 286 浏览 评分:0.0