题目2917:奇数单增排序,C语言 摘要:解题思路:a[]是原数组,b[]奇数数组注意事项:参考代码:#include<stdio.h>void input(int a[],int n); 输入数据。int f(int a[],int b…… 题解列表 2023年11月10日 0 点赞 0 评论 467 浏览 评分:9.9
鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <complex.h> int main() { int n, x, y[2…… 题解列表 2023年11月10日 0 点赞 0 评论 370 浏览 评分:0.0
题目 2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:参考代码:#include<bits/stdc++.h>using namespace std;int main() { int n; cin>>n; for(int i = 2…… 题解列表 2023年11月10日 0 点赞 0 评论 308 浏览 评分:0.0
优质题解 Yu金币简洁易懂写法 摘要: ##解析: 本题无法直接循环天数和金币数。 但是发现一个规律,连续的n天都发放n枚金币。 我们可以用while循环解决连续n天发放n枚金币。 **我的解法:** sum记…… 题解列表 2023年11月10日 0 点赞 0 评论 630 浏览 评分:9.9
学习ASCII码(java) 摘要:参考代码:import java.util.Scanner;//用熟悉的printf输出字符常量 ' t ' 的ASCII以及ASCII码值63对应的字符!//注意,是两个结果,一个数…… 题解列表 2023年11月10日 0 点赞 0 评论 574 浏览 评分:2.0
题解 2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c=0; cin>>a; for(int i…… 题解列表 2023年11月10日 0 点赞 0 评论 364 浏览 评分:0.0
题目 1739: 成绩排序 摘要:解题思路:注意事项:参考代码:def compare_students(student): name, age, score = student return (score, name, …… 题解列表 2023年11月10日 0 点赞 0 评论 495 浏览 评分:2.0
数位排序暴力 摘要:解题思路:暴力注意事项:无参考代码:#pragma GCC optimize(3) #include <bits/stdc++.h> using namespace std; #define e…… 题解列表 2023年11月10日 0 点赞 0 评论 635 浏览 评分:9.9
题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d=0,e=0,res=0; cin>>…… 题解列表 2023年11月10日 0 点赞 0 评论 304 浏览 评分:0.0
2822: 求分数序列和 摘要:``` #include using namespace std; int main(){ int n; double c=0,sum=0,a=3,b=2,c1=2,y=0; cin…… 题解列表 2023年11月10日 0 点赞 0 评论 250 浏览 评分:7.3