码迷,mamicode.com
首页 >  
搜索关键字:ios ip 外网    ( 106444个结果
前缀树(Trie)
实现前缀树 知识点 Trie (发音为 "try") 或前缀树是一种树数据结构,用于检索字符串数据集中的键。 常见的应用场景有: 自动补全 拼写检查 IP路由(最长前缀匹配) 打字预测 示例 实现 Trie (前缀树) class TrieNode { private final int R = 2 ...
分类:其他好文   时间:2021-02-15 12:42:37    阅读次数:0
Codeforces Round #697 (Div. 3) A-G
A. Required Remainder 题意: $t$组样例,判定一个正整数$n$是否存在一个大于$1$的奇数因子,\((1≤t≤10^4), (2≤n≤10^{14})\) 思路: 打表,发现只有满足$2^$的数字不存在奇数因子。 Code: int main(){ ios::sync_wit ...
分类:其他好文   时间:2021-02-15 12:39:39    阅读次数:0
获取本地ip
在老毛子的文章里看到的获取本地ip的方法。实现蛮简单。没找到多少关于idStack相关的说明,有空再去外网溜达看看。先记录下。 program 获取本地ip; {$APPTYPE CONSOLE} {$R *.res} uses IdStack; function GetIPLocal: strin ...
分类:其他好文   时间:2021-02-15 12:33:49    阅读次数:0
Educational Codeforces Round 102 (Rated for Div. 2)E题(分层图、最短路)
https://codeforces.com/contest/1473/problem/E vector存图: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0),cin.tie(0 ...
分类:其他好文   时间:2021-02-15 12:17:20    阅读次数:0
06 | 跨域问题 | 谷粒
一、跨域问题 当通过一个地址去访问另一个地址的过程中,有三个地方的任何一个不一样就会存在跨域问题,前后端交互的项目经常遇到跨域问题。 协议 ip地址 端口号 本项目前端: http://localhost:9528/ ? 后端: http://localhost:8989/ 端口号不一致存在跨域问题 ...
分类:其他好文   时间:2021-02-15 12:12:12    阅读次数:0
MySQL——连接
使用mysql二进制方式连接 mysql -u root -p 使用PHP脚本连接MySQL mysqli_connect(host,name,password,dbname,port,socket); host 规定主机或IP地址 username 规定MySQL用户名 password 规定My ...
分类:数据库   时间:2021-02-15 12:08:49    阅读次数:0
mongodb的配置参数
Mongodb启动命令mongod参数说明mongod的主要参数有: 基本配置 --quiet # 安静输出 --port arg # 指定服务端口号,默认端口27017 --bind_ip arg # 绑定服务IP,若绑定127.0.0.1,则只能本机访问,不指定默认本地所有IP --logpat ...
分类:数据库   时间:2021-02-15 11:54:59    阅读次数:0
单源最短路 : 多起点
https://www.acwing.com/problem/content/1139/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-15 11:53:52    阅读次数:0
单源最短路 : 拆点
https://www.acwing.com/problem/content/1133/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-15 11:53:38    阅读次数:0
单源最短路 : 计数
https://www.acwing.com/problem/content/1136/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-15 11:53:26    阅读次数:0
106444条   上一页 1 ... 55 56 57 58 59 ... 10645 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!