题解列表
2888: 图像模糊处理
摘要:```
#include
using namespace std;
const int N=1000;
double a[N][N],b[N][N];
int c[N][N];
int m……
编写题解 2764: 带余除法
摘要:解题思路:编写题解 2764: 带余除法注意事项:参考代码:x, y = map(eval,input().split())print(x//y,x%y,sep=" ")……
1038: [编程入门]宏定义练习之三角形面积
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >> a>……
单词查找树(python)
摘要:解题思路:注意事项:参考代码:class TrieNode: def __init__(self): self.children = {} self.is_end_o……
求后序遍历(python)
摘要:解题思路:注意事项:参考代码:def build_tree(preorder, inorder): if not preorder or not inorder: return N……
合并果子(python)
摘要:解题思路:注意事项:参考代码:import heapqdef mergeFruits(fruits): heap = [] for fruit in fruits: heap……
题解 2861: 验证子串(用isSubstring()函数解决)
摘要:```c
#include
#include
int isSubstring(char* a, char* b, int len_a, int len_b)//默认len_a>len_b
{
……