摘要:
动态规划 方案数问题 例题:P1002 [NOIP2002 普及组] 过河卒 参考代码 #include <cstdio> typedef long long LL; const int N = 25; int dx[8] = {-2, -2, -1, -1, 1, 1, 2, 2}; int dy 阅读全文
摘要:
#include <cstdio> #include <algorithm> using namespace std; const int N = 10005; const int M = 1005; const int INF = 1e9; int up[N], down[N], low[N], 阅读全文
摘要:
#include <cstdio> #include <algorithm> using namespace std; const int N = 105; const int A = 25005; int a[N]; bool dp[A]; int main() { int t; scanf("% 阅读全文
摘要:
暴力枚举 枚举国内和国外的廊桥数量配额,再模拟航班停机过程 #include <cstdio> #include <algorithm> using namespace std; const int N = 100005; struct Flight { int l, r; // l 抵达时刻,r 阅读全文
摘要:
#include <cstdio> #include <vector> #include <queue> #include <algorithm> using namespace std; typedef long long LL; const int N = 2505; vector<int> G 阅读全文
摘要:
## T1 中国的国家顶级域名是 - A. cn - B. ch - C. chn - D. china 答案 **A** 域名级数是指一个域名由多少级组成,域名的各个级别被“.”分开,最右边的为顶级域名。顶级域名,又称一级域名,常见的有“.com”、“.org”、“.net”、“.cn”等,二级域 阅读全文
摘要:
T1 以下哪一种设备属于输出设备 A. 扫描仪 B. 键盘 C. 鼠标 D. 打印机 答案 D T2 下列四个不同进制的数中,与其它三项数值上不相等的是 A. \((269)_{16}\) B. \((617)_{10}\) C. \((1151)_8\) D. \((1001101011)_2\) 阅读全文