典中典---抽象背包 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main {public static void main(String[] args) throws E…… 题解列表 2023年04月07日 0 点赞 0 评论 281 浏览 评分:0.0
倒数第二——python 摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): m = int(input()) L = list(map(int,input().sp…… 题解列表 2023年04月07日 0 点赞 0 评论 355 浏览 评分:0.0
单位矩阵的转置——python 摘要:解题思路:注意事项:参考代码:while True: try: n = int(input()) dp = [[0 for i in range(n)]for i i…… 题解列表 2023年04月07日 0 点赞 0 评论 693 浏览 评分:0.0
循环练习之完美数判断 摘要:解题思路:注意事项:参考代码:def wm(n): s = 1 for i in range(2,n//2+1): if n%i == 0: s+=i …… 题解列表 2023年04月07日 0 点赞 0 评论 458 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int compare(const voi…… 题解列表 2023年04月07日 0 点赞 0 评论 285 浏览 评分:0.0
矩阵的对角线之和 摘要:解题思路:注意事项:参考代码:dp = [list(map(int,input().split()))for i in range(5)]a = b = 0for i in range(5): …… 题解列表 2023年04月07日 0 点赞 0 评论 406 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-字符串编码 摘要:参考代码:#include <iostream>#include <string>using namespace std;int main(){ string s; cin >> s; …… 题解列表 2023年04月07日 0 点赞 0 评论 351 浏览 评分:0.0
杨辉三角——python 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split())L = [[1],[1,1]]for i in range(1,n): a = L[i] b = …… 题解列表 2023年04月07日 0 点赞 0 评论 318 浏览 评分:0.0
傻瓜满分解法 摘要:解题思路:高级版的暴力,避免了大for导致超时,做题时务必认真,不要漏写条件。参考代码:#include<bits/stdc++.h>using namespace std;int main(){ l…… 题解列表 2023年04月07日 0 点赞 0 评论 369 浏览 评分:0.0
题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string>int main(){ string a; cin >> a;…… 题解列表 2023年04月07日 0 点赞 0 评论 324 浏览 评分:0.0