{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

算法竞赛入门经典:训练指南

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

算法竞赛入门经典:训练指南

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Content Description

《算法竞赛入门经典:训练指南》是《算法竞赛入门经典》的重要补充,旨在补充原书中没有涉及或者讲解得不够详细的内容,从而构建一个较完整的知识体系,并且用大量有针对性的题目,让抽象复杂的算法和数学具体化、实用化。本书共6章,分别为算法设计基础、数学基础、实用数据结构、几何问题、图论算法与模型和更多算法专题,全书通过近200道例题深入浅出地介绍了上述领域的各个知识点、经典思维方式以及程序实现的常见方法和技巧,并在章末和附录中给出了丰富的分类习题,供读者查漏补缺和强化学习效果。本书题目多选自近年来ACM/ICPC区域赛和总决赛真题,内容全面,信息量大,覆盖了常见算法竞赛中的大多数细分知识点。书中还给出了所有重要的经典算法的完整程序,以及重要例题的核心代码,既适合选手自学,也方便教练组织学习和训练。
Author Description

刘汝佳,1982年12月生,高中毕业于重庆市外国语学校。2000年3月获得NOI2000全国青少年信息学奥林匹克竞赛一等奖第四名,进入国家集训队,并因此保送到清华大学计算机科学与技术系。大一时获2001年ACM/ICPC国际大学生程序设计竞赛亚洲—上海赛区冠军和2002年世界总决赛银牌(世界第四),2005年获学士学位,2008年获硕士学位。学生时代曾为中国计算机学会NOI科学委员会学生委员,担任IOI2002—2008@国国家队教练,并为NOI系列比赛命题十余道。现为NOI竞赛委员会委员。并在NOI 25周年时获得中国计算机学会颁发的“特别贡献奖”。2004年至今共为ACM/ICPC亚洲赛区命题二十余道,担任6次裁判和2次命题总监。并应邀参加IOI和ACM/ICPC相关国际研讨会,发表论文两篇。2004年初作为作者出版专著《算法艺术与信息学竞赛》,2009年出版译著《编程挑战》。多年来在全国二十余个城市进行中学生竞赛培训工作,为北京、上海、吉隆坡等地的著名高校授课与宣讲,并多次与TopCoder、百度和网易有道等知名企业合作举办比赛,让更多的IT人才获得展示自我的平台。
陈锋,1982年9月生。毕业于华北水利水电学院机械设计专业。曾就职于微软全球技术支持中心,负责net虚拟机以及Visual Studio开发技术支持。后进入金融IT行业,专注于银行网点平台的产品研发,曾分别负责基于.net和Eclipse的两代网点平台产品的开发以及架构设计。现就职于北京宇信易诚科技,任前端产品技术经理及架构师。
Catalogue

第1章 算法设计基础
1.1 思维的体操
1.2 问题求解常见策略
1.3 高效算法设计举例
1.4 动态规划专题
1.5 小结与习题

第2章 数学基础
2.1 基本计数方法
2.2 递推关系
2.3 数论
2.3.1 基本概念
2.3.2 模方程
2.4 组合游戏
2.5 概率与数学期望
2.6 置换及其应用
2.7 矩阵和线性方程组
2.8 数值方法简介
2.9 小结与习题

第3章 实用数据结构
3.1 基础数据结构回顾
3.1.1 抽象数据类型(ADT)
3.1.2 优先队列
3.1.3 并查集
3.2 区间信息的维护与查询
3.2.1 二叉索引树(树状数组)
3.2.2 RMQ问题
3.2.3 线段树(1):点修改
3.2.4 线段树(2):区间修改
3.3 字符串(1)
3.3.1 Trie
3.3.2 KMP算法
3.3.3 Aho-Corasick自动机
3.4 字符串(2)
3.4.1 后缀数组
3.4.2 最长公共前缀(LCP)
3.4.3 基于哈希值的LCP算法
3.5 排序二叉树
3.5.1 基本概念
3.5.2 用Treap实现名次树
3.5.3 用伸展树实现可分裂与合并的序列
3.6 小结与习题

第4章 几何问题
4.1 二维几何基础
4.1.1 基本运算
4.1.2 点和直线
4.1.3 多边形
4.1.4 例题选讲
4.1.5 二维几何小结
4.2 与圆和球有关的计算问题
4.2.1 圆的相关计算
4.2.2 球面相关问题
4.3 二维几何常用算法
4.3.1 点在多边形内判定
4.3.2 凸包
4.3.3 半平面交
4.3.4 平面区域
4.4 三维几何基础
4.4.1 三维点积
4.4.2 三维叉积
4.4.3 三维凸包
4.4.4 例题选讲
4.4.5 三维几何小结
4.5 小结与习题

第5章 图论算法与模型
5.1 基础题目选讲
5.2 深度优先遍历
5.2.1 无向图的割顶和桥
5.2.2 无向图的双连通分量
5.2.3 有向图的强连通分量
5.2.4 2-SAT问题
5.3 最短路问题
5.3.1 再谈Dijkstra算法
5.3.2 再谈Bellman-Ford算法
5.3.3 例题选讲
5.4 生成树相关问题
5.5 二分图匹配
5.5.1 二分图最大匹配
5.5.2 二分图最佳完美匹配
5.5.3 稳定婚姻问题
5.5.4 常见模型
5.6 网络流问题
5.6.1 最短增广路算法
5.6.2 最小费用最大流算法
5.6.3 建模与模型变换
5.6.4 例题选讲
5.7 小结与习题

第6章 更多算法专题
6.1 轮廓线动态规划
6.2 嵌套和分块数据结构
6.3 暴力法专题
6.3.1 路径寻找问题
6.3.2 对抗搜索
6.3.3 精确覆盖问题和DLX算法
6.4 几何专题
6.4.1 仿射变换与矩阵
6.4.2 离散化和扫描法
6.4.3 运动规划
6.5 数学专题
6.5.1 小专题集锦
6.5.2 快速傅里叶变换(FFT)
6.5.3 线性规划
6.6 浅谈代码设计与静态查错
6.6.1 简单的Bash
6.6.2 《仙剑奇侠传四》之最后的战役
6.7 小结与习题
附录A 训练指南:使用UVa/LA题库
A.1 UVa在线比赛推荐
A.2 LA套题(ACM/ICPC真题)推荐
A.3 UVa在线比赛单题推荐
附录B Java、C#和Python语言简介
B.1 Java
B.2 C#
B.3 Python
Book Abstract

【输入格式】
输入包含多组数据。每组数据的第一行为学生个数n(1≤n≤500000);以下每行包含两个不同的非负整数A和B,表示该学生想从A学校换到B学校。输入结束标志为n=0。
【输出格式】
对于每组数据,输出YES或者NU。
复合词(Compound Words,UVa 10391)
给定一个词典,要求找出其中所有的复合词,即恰好由两个单词连接而成的单词。
【输入格式】
输入只有一组数据,其中每行都是一个由小写字母组成的单词。输入已按照字典序排序,且不超过120000个单词。
【输出格式】
输出所有复合词,按照字典序排列。
Gergovia的酒交易(Wire trading in Gergovia,UVa 11054)
直线上有n个等距的村庄,每个村庄要么买酒,要么卖酒。把k个单位的酒从一个村庄运到相邻村庄需要k个单位的劳动力。问最少需要多少劳动力才能满足所有村庄的需求。
【输入格式】
输入包含多组数据。每组数据的第一行为村庄个数n(2≤n≤100000);第二行从左到右给出各个村庄对酒的需求ai(—1000≤a≤1000),其中ai>0表示买酒,ai<0表示卖酒。输入保证所有ai之和等于0。输入结束标志为n=0。
【输出格式】
输出劳动力总和的最小值。输出保证在64位带符号整数的范围内。
平均值(Average,Seoul 2009,LA 4726)
给定一个长度为n的01序列,选一个长度至少为L的连续子序列,使得子序列中数字的平均值最大。如果有多解,子序列长度应尽量小;如果仍有多解,起点编号应尽量小。序列中的字符编号为1~n,因此[I,n]就是指完整的序列。
例如,对于长度为17的序列00101011011011010,如果L=7,子序YU[7,14]的平均值最大,为6/8(它的长度为8);如果L=5,子序列[7,11]的平均值最大,为4/5。
【输入格式】
输入的第一行为数据组数T。每组数据的第一行为两个整数胛和L(1≤n≤100000,1≤L≤1000),第二行为一个长度为n的01序列。
【输出格式】
对于每组数据,输出满足条件的最优子序列的起点和终点编号。
餐厅(Restaurant,Deajon,2010,LA4851)
有一个M×M的网格,左下角坐标为(0,0),右上角坐标为(M—1,M—1)。网格里有两个y坐标相同的宾馆A和B,以及n个餐厅。宾馆A和宾馆B里各有一个餐厅,编号为1和2,其他地方的餐厅编号为3~n。现在你打算开一家新餐厅,需要考查一下可能的位置。

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book