王牌花色最简单的写法(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> // 计算牌的点数 int dianshu(char *play) { in…… 题解列表 2024年04月10日 0 点赞 0 评论 543 浏览 评分:0.0
2124: 信息学奥赛一本通T1259-求最长不下降序列(DP)指定输出顺序 摘要:解题思路:DP, 以i节点为结束的最长不下降序列 f[i] = max(f[i], f[j] + 1) j > 1 && j < i;注意事项:输出顺序小数优先:判断相等最长情况下, 采用小数优先 …… 题解列表 2024年04月10日 0 点赞 0 评论 741 浏览 评分:9.9
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: print(sum(list(map(int, input())))) except: …… 题解列表 2024年04月10日 1 点赞 0 评论 779 浏览 评分:0.0
1475: 蓝桥杯基础练习VIP-高精度加法 解题思路:注意事项:参考代码:a=int(input())b=int(input())print(a+b) 题解列表 2024年04月10日 0 点赞 0 评论 811 浏览 评分:0.0
1474: 蓝桥杯基础练习VIP-阶乘计算 摘要:解题思路:注意事项:参考代码:n = int(input()) s = 1 for i in range(2, n + 1): s *= i print(s)…… 题解列表 2024年04月10日 0 点赞 0 评论 819 浏览 评分:0.0
1895: 蓝桥杯算法提高VIP-队列操作 摘要:解题思路:注意事项:参考代码:N = int(input()) queue = [] lenght = len(queue) for i in range(N): x = input(…… 题解列表 2024年04月10日 0 点赞 0 评论 732 浏览 评分:0.0
1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:str = input().lower() s = "" for i in str: if i == 'w': s += …… 题解列表 2024年04月10日 2 点赞 0 评论 1240 浏览 评分:0.0
计算邮资(C++) 摘要:# include <bits/stdc++.h> using namespace std; int main () { int n; char c; cin >> n >…… 题解列表 2024年04月10日 0 点赞 0 评论 792 浏览 评分:9.9