2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;ll a[…… 题解列表 2024年07月15日 0 点赞 0 评论 580 浏览 评分:0.0
题解 2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[600];int main(){ int n=0; in…… 题解列表 2024年07月15日 0 点赞 0 评论 388 浏览 评分:0.0
题解 2917: 奇数单增序列 摘要:```cpp #include using namespace std; typedef long long ll; ll a[503],cnt; int main() { l…… 题解列表 2024年07月15日 0 点赞 0 评论 459 浏览 评分:0.0
题解 2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[504],b[504];int main(){ int n,sum=0…… 题解列表 2024年07月15日 0 点赞 0 评论 527 浏览 评分:0.0
编写题解 2765: 计算分数的浮点数值(懒人最简版) 摘要:解题思路:本题关键在于知道整数相除会直接去掉小数部分再转换为浮点数(注意不是四舍五入哈),因此考虑利用强制类型转换的知识解题注意事项:如果在使用除法时包含了浮点型数据,那么结果就是浮点型数据而非整型数…… 题解列表 2024年07月15日 0 点赞 0 评论 923 浏览 评分:9.9
1771: [编程入门]链表之节点删除 摘要:**题目描述:**有两个链表a和b,设节点中包含学号、成绩。从a链表中删去b链表中有相同学号的那些节点。 **输出格式:**首先输出a链表最终剩下的节点个数k。在接下来的k行,每行输出两个用空格…… 题解列表 2024年07月15日 1 点赞 0 评论 801 浏览 评分:9.9
关于Python的基本输入输出 摘要:import sys sys.set_int_max_str_digits(100000000) while True: try: n = int(input()) …… 题解列表 2024年07月15日 0 点赞 0 评论 367 浏览 评分:0.0
python优雅解法-回文数组-贪心 摘要:n = int(input()) nums = list(map(int, input().split())) result = [nums[n - i - 1] - nums[i] for i …… 题解列表 2024年07月14日 2 点赞 0 评论 922 浏览 评分:8.4
1669: 求圆的面积 摘要:**题目描述:**题目很简单,已知半径r,求一个圆的面积是多大。 公式不用提了吧~~ **两个库函数:** //主要用于double类型的数据 double pow(double x, …… 题解列表 2024年07月14日 1 点赞 0 评论 1530 浏览 评分:6.0
1668: printf基础练习2 摘要:**题目描述:**学完printf函数了,黄老师今天的作业就是让大家写一个进制转换程序,可以输出任意一个数字的八进制、十进制、十六进制 ! **解题:**c语言中 8进制用%o打印 …… 题解列表 2024年07月14日 21 点赞 0 评论 2585 浏览 评分:9.5