[编程入门]报数问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m,s=0;scanf("%d",&n); …… 题解列表 2022年05月10日 0 点赞 0 评论 306 浏览 评分:0.0
[编程入门]完数的判断 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int N; cin>>N; for(int…… 题解列表 2022年05月10日 0 点赞 0 评论 248 浏览 评分:0.0
最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int fun(int a,int b){ if(b==0) return a; r…… 题解列表 2022年05月10日 0 点赞 0 评论 367 浏览 评分:0.0
[编程入门]迭代法求平方根 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;double x,b,c;int main(){ cin>>x; b=x…… 题解列表 2022年05月10日 0 点赞 0 评论 307 浏览 评分:0.0
二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long n,a,x,y,d;int main(){ cin>>n…… 题解列表 2022年05月10日 0 点赞 0 评论 298 浏览 评分:0.0
刚来只会用基础语句求解。。 摘要:解题思路:参考题目给出的信息,判断水仙花数的关键就是需要将3位数分别拆开,看了一下大佬写的题解,是这么个理,但是还没学到这个用法,就自己搞了一个比较基础的版本。。用整除和取余来得到3个数字。注意事项:…… 题解列表 2022年05月10日 0 点赞 0 评论 489 浏览 评分:0.0
我这个应该是对任何的数值都可以 摘要:解题思路:注意事项:参考代码:a = 40list1 = []list2 = []for i in range(2,int(a**0.5)+1): if a%i == 0: lis…… 题解列表 2022年05月10日 0 点赞 0 评论 309 浏览 评分:0.0
关于如何用多行代码写出str.lower()的功能 摘要:解题思路:注意事项:参考代码:a = list(input())for i in range(len(a)): if 65<=ord(a[i])<= 90: num = ord(…… 题解列表 2022年05月10日 0 点赞 0 评论 325 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:import java.io.*; /** * 分别保存三个和,然后相加 */ public class Main { public static BufferedRea…… 题解列表 2022年05月11日 0 点赞 0 评论 230 浏览 评分:0.0
请各位大神帮我看看哪里错咯 谢谢了 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { unsigned long long a[40]; int i,n,g,y; for(i=…… 题解列表 2022年05月11日 0 点赞 0 评论 316 浏览 评分:0.0