【Python题解】Poker排序 摘要:解题思路:利用列表的 list.sort(key=(lambda)) 方法,具体见代码注释。参考代码:s = input().replace('10', 't') #…… 题解列表 2023年01月10日 0 点赞 0 评论 267 浏览 评分:9.9
蓝桥杯算法训练VIP-字符串编辑-python 摘要:解题思路:注意事项:参考代码:def Delete(s,arg): try: index=s.index(arg) string1=s[0:index] …… 题解列表 2023年01月10日 0 点赞 0 评论 188 浏览 评分:0.0
2923: 病人排队 摘要:```cpp #include using namespace std; typedef struct a { char m[20]; int age; }T; int…… 题解列表 2023年01月10日 0 点赞 0 评论 311 浏览 评分:9.9
2915: 接水问题 摘要:```cpp #include using namespace std; int main() { int n,m,w[10000],x[10000],s=1,max=0; …… 题解列表 2023年01月10日 0 点赞 1 评论 287 浏览 评分:7.3
【Python解法】A+B+C+D 摘要:#### 思路: 隔板法,即往 `e-1` 个间隔中放入3个隔板,因此结果为: $$\large \tbinom{e-1}{3}=\frac{(e-1)(e-2)(e-3)}{3!}$$ …… 题解列表 2023年01月10日 0 点赞 0 评论 239 浏览 评分:9.9
1217: 换位置 摘要:```cpp #include using namespace std; int main() { int n,i; cin>>n; while(n--) {…… 题解列表 2023年01月10日 0 点赞 0 评论 341 浏览 评分:9.9
1216: 成绩转换 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) switch(n/…… 题解列表 2023年01月10日 0 点赞 0 评论 352 浏览 评分:9.9
2254: 蓝桥杯算法提高-奥运会开幕式 摘要:```cpp #include using namespace std; int main() { int n,m,p=0; cin>>n>>m; for(int…… 题解列表 2023年01月10日 0 点赞 0 评论 218 浏览 评分:9.9
1215: 愚蠢的摄影师 摘要:```cpp #include using namespace std; int main() { int N,A[55]={1,1,2}; for(int i=3;i>N…… 题解列表 2023年01月10日 0 点赞 0 评论 276 浏览 评分:9.9
1214: 恺撒密码 摘要:```cpp #include using namespace std; int main() { string str; while(getline(cin,str))…… 题解列表 2023年01月10日 0 点赞 0 评论 277 浏览 评分:9.9