题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>b…… 题解列表 2023年12月10日 0 点赞 0 评论 230 浏览 评分:0.0
题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;double a;int main(){ cin>>a; if(a>0…… 题解列表 2023年12月10日 0 点赞 0 评论 547 浏览 评分:6.0
题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; if(a!=0) …… 题解列表 2023年12月10日 0 点赞 0 评论 171 浏览 评分:0.0
收费的题解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n; cin >> n; …… 题解列表 2023年12月10日 0 点赞 1 评论 183 浏览 评分:9.9
编写题解 2779: 输出绝对值 摘要:解题思路:#include <bits/stdtr1c++.h>using namespace std;int main(){ double a; cin>>a; if(a>0) …… 题解列表 2023年12月10日 0 点赞 0 评论 790 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char iq; cin>>iq; if…… 题解列表 2023年12月10日 0 点赞 1 评论 205 浏览 评分:6.0
全排列(python) 摘要:解题思路:注意事项:参考代码:def permutations(s, prefix=""): if len(s) == 0: print(prefix) else: …… 题解列表 2023年12月10日 0 点赞 0 评论 329 浏览 评分:9.9
数的计数(python) 摘要:解题思路:注意事项:参考代码:def count_numbers(n): # 创建一个长度为 n+1 的数组,用于存储中间结果 dp = [0] * (n + 1) # 初始化基本情…… 题解列表 2023年12月10日 0 点赞 0 评论 377 浏览 评分:0.0
分数求和(python) 摘要:解题思路:注意事项:参考代码:'''Python标准库中的fractions模块是用于处理有理数(Rational Numbers)的一个强大的工具。有理数是可以表示为两个整数…… 题解列表 2023年12月10日 0 点赞 0 评论 285 浏览 评分:0.0
围圈报数(python) 摘要:解题思路:注意事项:参考代码:def josephus(n, m): # 创建编号列表 people = list(range(1, n + 1)) # 记录出列的顺序 ord…… 题解列表 2023年12月10日 0 点赞 0 评论 278 浏览 评分:9.9