【Python题解】Poker排序 摘要:解题思路:利用列表的 list.sort(key=(lambda)) 方法,具体见代码注释。参考代码:s = input().replace('10', 't') #…… 题解列表 2023年01月10日 0 点赞 0 评论 307 浏览 评分:9.9
2177: 信息学奥赛一本通T1252-走迷宫 摘要:```cpp #include #include using namespace std; const int S=41; struct node { int x,y,l; }…… 题解列表 2023年01月10日 0 点赞 0 评论 268 浏览 评分:9.9
2847: 找第一个只出现一次的字符 摘要:```cpp #include #include using namespace std; int main() { char ch[1000000],letter[26],let…… 题解列表 2023年01月10日 0 点赞 0 评论 488 浏览 评分:9.9
【Python题解】蓝桥杯算法提高VIP-删除重复元素 摘要:解题思路:利用列表的copy()和remove()方法。参考代码:s = list(input()) for i in s: temp = s.copy() temp.remov…… 题解列表 2023年01月10日 0 点赞 0 评论 251 浏览 评分:9.9
二级C语言-统计字符(水题) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s[100]; int i,a=0,b=0,c=0,d=0; gets(s); for(i=0;s[…… 题解列表 2023年01月10日 0 点赞 0 评论 308 浏览 评分:9.9
二级C语言-阶乘数列(水题) 摘要:解题思路:注意事项:unsigned long long 放不下,用double放参考代码:#include <stdio.h>double f(int n){ if(n==1) return …… 题解列表 2023年01月10日 0 点赞 0 评论 348 浏览 评分:9.9
【Python题解】蓝桥杯算法提高VIP-幸运顾客 摘要:参考代码:N = int(input()) lis = [] # 保存幸运号 count = 0 # 记抽号天数 result = [] # 保存输出结果 题解列表 2023年01月10日 1 点赞 0 评论 249 浏览 评分:9.9
C++ 贪心+双指针 O(N)复杂度 摘要:``````````cpp #include using namespace std; #define ll long long //纪念品分组 namespace test29 {…… 题解列表 2023年01月10日 0 点赞 0 评论 403 浏览 评分:9.9
具有abcd=(ab+cd)2性质的四位数简单循环代码和(简单粗暴)的方法 摘要:解题思路:分别求出abcd的值后判断 直接输出 注意事项:参考代码:(1)#include<stdio.h>#include<math.h>int …… 题解列表 2023年01月10日 0 点赞 0 评论 303 浏览 评分:9.9
[编程入门]打印图案 摘要:```cpp #include using namespace std; int main() { cout…… 题解列表 2023年01月10日 0 点赞 0 评论 740 浏览 评分:9.9