摘要:
链接:https://www.luogu.com.cn/problem/P3403 题意:给出了三个数字,让我们找出可以由这三个数字组合合成的所有数字数量(在一定范围内) 思路:第一次遇到这种题。我们先将这三个数按从小到大排序; 分别表示为a,b,c; 那么(b mod a) (c mod a),肯 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/5205/A 思路: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn=107; 4 int g[maxn][maxn]; 5 int m 阅读全文