自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (3)
  • 收藏
  • 关注

原创 ACM-BestCoder Round #20

A-who is the best? 题意: 给出n个数,求出现频率最高的数,如果最高出现次数一样,则输出最先出现的数。 分析: 由于数据范围不大,可以直接将数据哈希为数组下标,数组值存放出现次数,最后遍历出答案即可。 源代码: #include #include #include #include using namespace std; int data[105]

2014-11-29 21:10:57 494

原创 ACM-BestCoder Round #19

A-Alexandra and Prime Numbers 题意: 分析: 源代码:

2014-11-29 01:22:13 551

原创 ACM-Codeforces Round #279 (Div. 2)

A. Team Olympiad 题意: 给你一行数据,它们的值是1、2、3中的一个,然后问可以构成同时包含1、2、3的组数有多少,并且输出每一组的信息,当然,是原数据的下标。 分析: 首先构造结构体,保存原数据值及其下标,然后使用三维动态数组,代表三种不同的值,将不同类型的结构体,放入对应的数组,最后循环扫描数组,输出信息,并弹出结构体,任何一项为空则停止操作。 源代码:

2014-11-27 22:30:28 536

原创 ACM-分解素因子

在一些数学题目中,经常需要将某个数进行分解,以便于发现一些规律然后进行求解。 首先不得不说的一个定理就是唯一分解定理:

2014-11-23 00:39:36 4367

原创 ACM-数据结构-线段树I

线段树是一种特殊的数据结构,总的来说它支持两种操作,一是更新,二是查询。当然,不使用线段树也能完成这两种操作,此时一般为线性复杂度O(n),所以使用它的目的其实也就是优化时间复杂度,更新和查询操作的复杂度都下降到了o(logn)。 其次,说说线段树的实现思想。总体上看,线段树将整个区间不断二分,直到区间上下界重合,最终形成一棵树,然后给每一个子区间从上到下、从左到右标上号,从这一步看来,线段树和

2014-11-15 12:15:58 1039

原创 ACM-HDOJ 2006 Asia Regional Shanghai

A-Acm Team Section 题意

2014-11-11 23:31:27 719

原创 ACM-题集总揽

ACM竞赛,感觉刷题也是很重要的一部分,所以这里将做过的比赛题记录下来,以供查阅: ACM-HDOJ-2006 Asia Regional Shanghai(点击打开链接)

2014-11-10 11:05:27 575

原创 ACM-欧拉函数

欧拉函数被定义为小于或等于n的数中

2014-11-05 12:11:37 1826 2

原创 ACM-反素数

这篇文章将讨论反素数,素数大家都知道是什么,那么

2014-11-02 14:38:23 934

Introduction to 3D Game Programming with DirectX 11

This updated bestseller provides an introduction to programming interactive computer graphics, with an emphasis on game development using DirectX 11. The book is divided into three main parts: basic mathematical tools, fundamental tasks in Direct3D, and techniques and special effects. It includes new Direct3D 11 features such as hardware tessellation and the compute shader, and covers advanced rendering techniques such as ambient occlusion, normal and displacement mapping, shadow rendering, particle systems, and character animation. Includes a companion DVD with code and figures. Brief Table of Contents: Part I Mathematical Prerequisites. Vector Algebra. Matrix Algebra. Transformations. Part II Direct3D Foundations. Direct3D Initialization. The Rendering Pipeline. Drawing in Direct3D. Lighting. Texturing. Blending. Stenciling. The Geometry Shader. The Compute Shader. The Tessellation Stages. Part III Direct3D Topics. Building a First Person Camera. Instancing and Frustum Culling. Picking. Cube Mapping. Normal and Displacement Mapping. Terrain Rendering. Particle Systems and Stream-Out. Shadow Mapping. Ambient Occlusion. Meshes. Quaternions. Character Animation. Appendices. Introduction to Windows Programming. High-Level Shading Language Reference. Some Analytic Geometry. Selected solutions. Features: +Provides an introduction to programming interactive computer graphics, with an emphasis on game development using DirectX 11 +Covers new Direct3D 11 features +Includes companion DVD with source code and 4-color graphics

2017-08-29

windows下7种winsocket的I/O编程模型

windows下7种winsocket的I/O编程模型的源代码,均为可直接运行代码,有详细注释。 每一种I/O模型的详细编程步骤可以参考配套文章:http://blog.csdn.net/u011787119/article/details/46848391

2015-07-19

WinSocket编程

WinSocket下TCP通信编程,服务器端和客户端,有注释,参考配套博客:http://blog.csdn.net/u011787119/article/details/46843651

2015-07-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除