题解列表
编写题解 1050: [编程入门]结构体之成绩记录
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ string id; string name; int ……
1的个数,五行代码搞定!!!!!!!!!!!
摘要:解题思路:注意事项:参考代码:n=int(input())a=0for i in range(1,n+1): a+=str(i).count("1")print(a)……
蓝桥杯2020年第十一届省赛真题-整除序列(Python)
摘要:解题思路:注意事项:参考代码:n = int(input())while n>0: print(n,end=' ') n //= 2……
迷宫问题 经典bfs模板,详细注释,注意细节!
摘要:**bfs搜索,方法都会,千万注意细节**
```cpp
#include
#include
#include
using namespace std;
char map[105][105……
Java 排序加格式化输出
摘要:import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void ma……
C++代码,01背包做法
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int f[2100][2100];char a[2100],b[2100];in……