题解列表
Hifipsysta-2064-[STL训练]2010辽宁省决赛 SPY(C++代码)
摘要:
```cpp
#include
#include
#include
#include
using namespace std;
bool check(set myset, stri……
优质题解
货币系统 (动态规划)
摘要:首先答案是10!!!
线性DP
dp[i]的含义:dp[i]表示金额为i(0...m)的总方案数;
最后一步:求金额为m-1的总方案数;
子问题:原来是求金额为m的总方案数,现在求i(0...……
python-平面切分
摘要:解题思路:注意事项:参考代码:n = int(input())
A = set()
for i in range(n):
k,b = map(int,input(……
Hifipsysta-2063-[STL训练]Train Problem I(C++代码)
摘要:
```cpp
#include
#include
#include
#include
#include
using namespace std;
int main(){
……
蓝桥杯历届试题-九宫重排(C++)
摘要:解题思路:暴力搜索,然后去掉重复的图,九宫格最多的排列组合也就是9!,也就是说最多一共362880种,本题使用使用100000的数组可以拿到50%的分,150000的数组可以拿到67%的分,20000……
嗯......。。。。。。。。。。。。。。。。。。。。。。有点难。。。。。。。
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << "yes" << endl; retur……
1058: 二级c语言 求偶数和
摘要:解题思路:注意事项:参考代码: #include <stdio.h> int main() { &nb
2630: 又一个送分题
摘要:解题思路:注意事项:参考代码:n=int(input())
a=[]
st=set(a)
for i in range(n):
a,b=map(int,input().split())……
Hifipsysta-2061-[STL训练]周瑜的反间计(C++代码)
摘要:```cpp
#include
#include
#include
using namespace std;
int main(){
int n, m, tmp;
w……