会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Flying-bullet
博客园
首页
新随笔
联系
订阅
管理
2025年10月16日
机票业务整理
摘要: 国际机票 售卖渠道: NDC(航司直连,提供API接口),GDS分销(接入例如Amadus, Sabre,Gaillo等进行售卖,中国是中航信),航司直售,代理商批发销售 OTA可以对接上述渠道,进行整合,但是OTA也可以作为代理商。 价格: 通常是通过ATPCO(全球票价分发系统,航司通过 ATP
阅读全文
posted @ 2025-10-16 11:25 Flying_bullet
阅读(44)
评论(0)
推荐(0)
2022年10月7日
百度首页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2022-10-07 22:34 Flying_bullet
阅读(301)
评论(0)
推荐(0)
2022年8月9日
Make Equal With Mod
摘要: 题目要求我们进行多次操作,每次任选x(x>=2),$a_i$->$a_i$%x,使得每个数都相同 当数组中没有1时,我们可以通过有限次操作将数组全部变为0,(0%x=0) 当数组中有1时(x>=2,所以除数无法取1),当数组有一对连续的数时(如1和2),我们取任何数都无法让其相同 #define _
阅读全文
posted @ 2022-08-09 10:01 Flying_bullet
阅读(25)
评论(0)
推荐(0)
2022年7月29日
2015-2016 ACM-ICPC, NEERC, Northern Subregional Contest
摘要: 2015-2016 ACM-ICPC, NEERC, Northern Subregional Contest A - Alex Origami Squares 长为h, 宽为w 如果w * 3 > h,则正方体边长为w 如果w * 3 < h,则正方体边长为max(h / 3, w / 2) #i
阅读全文
posted @ 2022-07-29 08:44 Flying_bullet
阅读(44)
评论(0)
推荐(0)
2022年7月18日
C - Coprime 2
摘要: 分解质因数,对于$\forall$ $x$$\in$ [1, m],来说,任意一个质因数的倍数及其本身都与题目中给定的数的最大公约数,至少有一个不是1 #include <iostream> using namespace std; const int N = 1e5 + 10; bool st[N
阅读全文
posted @ 2022-07-18 19:58 Flying_bullet
阅读(36)
评论(0)
推荐(0)
B - One More aab aba baa
摘要: 一道全排列的题,可以用dfs,也可以用stl内置的函数next_permutation ####dfs版本 #include <algorithm> #include <iostream> #include <vector> using namespace std; vector<string> c
阅读全文
posted @ 2022-07-18 17:28 Flying_bullet
阅读(25)
评论(0)
推荐(0)
2022年7月15日
scanf, printf输入输出string类字符串
摘要: 需要string头文件 string a; a.resize(100); scanf("%s", &a[0]);//通过a的首地址输入 printf("%s", a.c_str()); //c_str()获取字符串首地址
阅读全文
posted @ 2022-07-15 11:01 Flying_bullet
阅读(89)
评论(0)
推荐(0)
2022年7月14日
B - Primes
摘要: ###方法一 筛一次素数,然后遍历即可 #include <iostream> using namespace std; const int N = 1e7 + 10; bool st[N]; int p[N], cnt; void get() { st[1] = 1; for (int i = 2
阅读全文
posted @ 2022-07-14 19:51 Flying_bullet
阅读(33)
评论(0)
推荐(0)
2022年7月13日
RC-u3 跑团机器人
摘要: 模拟题,注意判断条件 #include <iostream> #include <map> using namespace std; string a; map<int, int> t; int maxx = 0, minn = 0; void solve() { int l = 0, r = a.
阅读全文
posted @ 2022-07-13 14:16 Flying_bullet
阅读(171)
评论(0)
推荐(0)
2022年7月12日
D - Number of Shortest paths
摘要: 先跑一次最短路,然后通过动态规划找出最短路的个数 #include <algorithm> #include <cstring> #include <iostream> #include <queue> using namespace std; typedef long long ll; const
阅读全文
posted @ 2022-07-12 19:58 Flying_bullet
阅读(39)
评论(0)
推荐(0)
下一页
公告