#include <iostream> #include <cstring> #include <cmath> using namespace std; using ll=long long ; const int maxn=1e3+10; int dp[maxn][maxn]; int sum[m ...
分类:
其他好文 时间:
2021-05-24 13:59:03
阅读次数:
0
如果数组里的第一个字符串包含了第二个字符串中的所有字母,则返回 true。例如,["hello", "Hello"] 应该返回 true。因为在忽略大小写的情况下,第一个字符串包含了第二个字符串里出现的所有字母。["hello", "hey"] 应该返回 false。因为 hello 并不包含字符 ...
分类:
其他好文 时间:
2021-05-24 13:43:43
阅读次数:
0
Commission Directive 2003-94-EC of 8 October 2003 laying down the principles and guidelines of good manufacturing practice in respect of medicinal pro ...
分类:
其他好文 时间:
2021-05-24 13:33:30
阅读次数:
0
分层图最短路 范围要开的足够大 注意: add(u+j * n,v+j * n,w); add(v+j * n,u+j * n,w); add(u+(j-1) * n,v+j * n,0); add(v+(j-1) * n,u+j * n,0); 最后终点之间连上边权为0的边 #include<cs ...
分类:
其他好文 时间:
2021-05-24 12:59:37
阅读次数:
0
jsoncpp是一个用于操作json数据的C++开源库 代码地址:https://github.com/open-source-parsers/jsoncpp 使用文档:http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.h ...
分类:
Web程序 时间:
2021-05-24 12:49:23
阅读次数:
0
这题考察的是读者对于for循环的基础能力,考点为True与False的理解,难度为:1颗星 1 #include<stdio.h> 2 void fun(int n) 3 { 4 // 质数:只有两个正因数(1和自己)的自然数即为质数。 5 // 比1大但不是素数的数称为合数。1和0既非素数也非合数 ...
分类:
其他好文 时间:
2021-05-24 12:46:45
阅读次数:
0
学习记录,仅供参考,希望可以指出错误 根据带头结点的线性链表改编,即elemtype也变成了struct结构 #include<stdio.h> #include<stdlib.h> //改由带头结点的线性链表 #define OK 1 #define ERROR 0 typedef int sta ...
分类:
其他好文 时间:
2021-05-24 12:40:12
阅读次数:
0
本题为填空题,只需要算出结果后,在代码中使用输出语句将所填结果输出即可。 请你找到最小的整数 XX 同时满足: XX 是 20192019 的整倍数; XX 的每一位数字都是奇数。 1 #include <iostream> 2 using namespace std; 3 4 bool fun(i ...
分类:
其他好文 时间:
2021-05-24 12:34:02
阅读次数:
0
client #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <time.h> #include <arpa/inet.h> #include <sys/socket.h> ...
分类:
其他好文 时间:
2021-05-24 12:27:36
阅读次数:
0
相关文件 muduo/net/Channel.h muduo/net/Channel.cc 作用 Channel可理解为一个文件描述符fd和如何处理它的事件的回调函数的封装。 Channel负责注册和响应IO事件. muduo用户一般不直接使用Channel,而使用更上一层的封装,如TCPConne ...
分类:
其他好文 时间:
2021-05-24 12:25:58
阅读次数:
0