成绩排序(python匿名函数解法) 摘要:解题思路:思路不难,python创建一个列表存储姓名和成绩,然后再将所有人的成绩存储到一个列表当中,直接用sort函数搭配lambda匿名函数对成绩和名字的字典序进行排序,再用for循环一一输出即可注…… 题解列表 2023年12月17日 0 点赞 0 评论 362 浏览 评分:0.0
2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:||是或者参考代码:#include <iostream>using namespace std;int main(){ int x,y; cin >> x >>y ;…… 题解列表 2023年12月17日 0 点赞 0 评论 190 浏览 评分:0.0
2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; cin >> x ; …… 题解列表 2023年12月17日 0 点赞 0 评论 223 浏览 评分:0.0
2862: 字符串移位包含问题 摘要: #include using namespace std; const int N=100010; char a[N],b[N]; int main()…… 题解列表 2023年12月17日 0 点赞 0 评论 340 浏览 评分:0.0
题解 2862: 字符串移位包含问题 摘要: #include using namespace std; const int N=200000; char a[N],b[N]; int main()…… 题解列表 2023年12月17日 0 点赞 0 评论 239 浏览 评分:0.0
2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; cin >> x ; …… 题解列表 2023年12月17日 0 点赞 0 评论 188 浏览 评分:0.0
2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; cin >> x ; …… 题解列表 2023年12月17日 0 点赞 0 评论 203 浏览 评分:0.0
for and if买房子 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main(){ double y=200; …… 题解列表 2023年12月17日 0 点赞 0 评论 265 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<string.h>int main() { char arr1[100]; gets(arr1); i…… 题解列表 2023年12月17日 0 点赞 0 评论 222 浏览 评分:0.0
最最最简单简单 2833: 金币,不用while,注释写好了 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main() { int n, total=0; // n 天数…… 题解列表 2023年12月18日 0 点赞 0 评论 204 浏览 评分:0.0