#m 的新闻日记# 特朗普称自己将被逮捕
Former President Donald Trump said Saturday he expects to be arrested in connection with the investigation by the Manhattan District Attorney next week and called for protesters as New York law enforcement prepares for a possible indictment.
前总统唐纳德-特朗普周六表示,他预计下周将因曼哈顿地区检察官的调查被捕,并呼吁在纽约执法部门为可能的起诉做准备之际举行抗议活动。
一航物流美国端到端、门到门、国际供应链,国际物流,进口、出口、空运、海运、铁运、陆运、多式联运、仓储分拨、通关制单等业务,
业务欢迎详询 #top-t global 国际供应链服务# : www.topt-intl.com#国际物流#
TOP-T GLOBAL USA End to End,Door to Door,Global Supply Chain,Global Logisitics,Import,Export,Air,Sea,Rail,Haulage,Multi-Modal Transportation,Warehouse and Distribution,Custom Declaration and Clearance,Paperworks service.
Ask for more,#top-t global 国际供应链服务#
Pls check:www.topt-intl.com
Former President Donald Trump said Saturday he expects to be arrested in connection with the investigation by the Manhattan District Attorney next week and called for protesters as New York law enforcement prepares for a possible indictment.
前总统唐纳德-特朗普周六表示,他预计下周将因曼哈顿地区检察官的调查被捕,并呼吁在纽约执法部门为可能的起诉做准备之际举行抗议活动。
一航物流美国端到端、门到门、国际供应链,国际物流,进口、出口、空运、海运、铁运、陆运、多式联运、仓储分拨、通关制单等业务,
业务欢迎详询 #top-t global 国际供应链服务# : www.topt-intl.com#国际物流#
TOP-T GLOBAL USA End to End,Door to Door,Global Supply Chain,Global Logisitics,Import,Export,Air,Sea,Rail,Haulage,Multi-Modal Transportation,Warehouse and Distribution,Custom Declaration and Clearance,Paperworks service.
Ask for more,#top-t global 国际供应链服务#
Pls check:www.topt-intl.com
一尘不染不是没有尘埃,而是尘埃任他飞扬,我自做我的阳光心心给你,星星也给你(人 •͈ᴗ•͈)۶✧✧✧✧✧朋友圈仅供参考,具体以实物为准(◔◡◔)收起儿女情长,一心建设祖国大好河山我不仅可爱,还会做菜,白开水烧的一绝(#^.^#)The longest day has an end.
最难过的日子也有尽头。生活生活,生下来就要干活Don't be discouraged; it's often the last key in the bunch thatopens the lock.
别灰心,往往是最后一把钥匙才能打开锁。
最难过的日子也有尽头。生活生活,生下来就要干活Don't be discouraged; it's often the last key in the bunch thatopens the lock.
别灰心,往往是最后一把钥匙才能打开锁。
第100场双周赛
第三题,报超时,跑到两百多个就超时了,报错的用例每次都不同,运行这个用例有结果。复杂度是nlogn。一个长度为个位数的用例要运行12、20毫秒。
以为是多拷贝了一次, vector b=a;
不行
以为是用了vector v(n,0);
不行
bool v[n];也不行
int v[n];也不行
最后发现是数组开太大了,
// vector p[1000001];
map> p;
可以了。。
用绑定下标排序的话需要用稳定排序,
python sorted 、java Arrays.sort是稳定的
c++ 的sort,go的sort.Slice不稳定。
用sort(rank.begin(), rank.end(), [&nums](size_t a, size_t b)
{return nums[a] < nums[b]||nums[a]==nums[b]&&a或者stable_sort
第三题,报超时,跑到两百多个就超时了,报错的用例每次都不同,运行这个用例有结果。复杂度是nlogn。一个长度为个位数的用例要运行12、20毫秒。
以为是多拷贝了一次, vector
不行
以为是用了vector
不行
bool v[n];也不行
int v[n];也不行
最后发现是数组开太大了,
// vector
map
可以了。。
用绑定下标排序的话需要用稳定排序,
python sorted 、java Arrays.sort是稳定的
c++ 的sort,go的sort.Slice不稳定。
用sort(rank.begin(), rank.end(), [&nums](size_t a, size_t b)
{return nums[a] < nums[b]||nums[a]==nums[b]&&a或者stable_sort
✋热门推荐