题解列表

筛选

闲来无事的题解1111111

摘要:解题思路:注意事项:参考代码:long long a,b;   //长整形(100000000000000000000-(-100000000000000000000))int a,b;  //普通整……

1672: 迷宫问题(bfs)

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <queue> using namespace std; struct node{ int x; ……

数列有序C++实现

摘要:## 插入排序的实现 ```c++ #include using namespace std; #include const int N = 100010; int q[N]; ……

大整数减法,C++实现

摘要:# 大数减法模板 ```c++ #include #include using namespace std; bool cmp(vector &A, vector &B) { ……

2880: 计算鞍点

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){    fo……

1852: 求1+2+3+...+n的值

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sum(long long n){    long long ……