2254: 蓝桥杯算法提高-奥运会开幕式 摘要:```cpp #include using namespace std; int main() { int n,m,p=0; cin>>n>>m; for(int…… 题解列表 2023年01月10日 0 点赞 0 评论 379 浏览 评分:9.9
1216: 成绩转换 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) switch(n/…… 题解列表 2023年01月10日 0 点赞 0 评论 554 浏览 评分:9.9
1217: 换位置 摘要:```cpp #include using namespace std; int main() { int n,i; cin>>n; while(n--) {…… 题解列表 2023年01月10日 0 点赞 0 评论 514 浏览 评分:9.9
【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 评论 407 浏览 评分:9.9
2923: 病人排队 摘要:```cpp #include using namespace std; typedef struct a { char m[20]; int age; }T; int…… 题解列表 2023年01月10日 0 点赞 0 评论 537 浏览 评分:9.9
【Python题解】Poker排序 摘要:解题思路:利用列表的 list.sort(key=(lambda)) 方法,具体见代码注释。参考代码:s = input().replace('10', 't') #…… 题解列表 2023年01月10日 0 点赞 0 评论 536 浏览 评分: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 评论 423 浏览 评分:9.9
2847: 找第一个只出现一次的字符 摘要:```cpp #include #include using namespace std; int main() { char ch[1000000],letter[26],let…… 题解列表 2023年01月10日 0 点赞 0 评论 583 浏览 评分:9.9
【Python题解】蓝桥杯算法提高VIP-删除重复元素 摘要:解题思路:利用列表的copy()和remove()方法。参考代码:s = list(input()) for i in s: temp = s.copy() temp.remov…… 题解列表 2023年01月10日 0 点赞 0 评论 385 浏览 评分: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 评论 410 浏览 评分:9.9