-
1-4
Duck公司在仓库安装了红外报警装置,如图所示,所有红外线互不相交。n个发射器和n个接收器将平面分成n+1个区域,从左到右分别记作0、1、…、n。现在技术人员正在进行调试,对于每个点,需要快速知道它处于哪个区域。若正好处于红外线上,则视为处于右边的区域。
输入
第一行两个整数n、m,表示有n条直线、m个点
接下来n行,每行两个整数a、b,表示一组报警装置的发射器安装在(a, 0),接收器安装在(0, b)。每行a、b都比前一行的大
接下来m行,每行两个整数x、y,表示求点(x, y)所在的区域
输出
输出m行,每行一个数,对应每个点所在区域的编号(Duck installed infrared alarm in the warehouse, as shown in the figure, all infrared rays do not intersect. The n transmitters and n receivers divide the plane into n + 1 regions, denoted 0, 1, ..., n from left to right, respectively. Now technicians are debugging, for each point, you need to quickly know where it is located. If it is on the infrared, it is considered as the area to the right.)
- 2020-10-15 15:57:29下载
- 积分:1
-
ADOcontrolccessDB
MFC下使用ADO技术访问ACCESS数据库,还不错呀,赶快下了(MFC using ADO technology to access ACCESS database, it is pretty good, hurry down the)
- 2010-03-04 17:23:33下载
- 积分:1
-
Windows Forms 编程实战 PDF 扫描版[44M]
winfrom实用开发程序,小例子,源码都在里面(Winform practical development procedures, small examples, the source code are inside)
- 2017-06-22 10:24:25下载
- 积分:1
-
PhaseShiftMigationPlusInterpolation
Phase Shift Migration Plus Interpolation .for those who are interesting in seismic processing.enjoy it
- 2010-02-21 00:17:22下载
- 积分:1
-
一个地形渲染的引擎 terrainengine
一个地形渲染的引擎,能够输入dem数据,生成3D地形(A terrain rendering engine, can be dem input data to generate 3D terrain)
- 2008-08-04 16:09:56下载
- 积分:1
-
SDL2-2.0.12
说明: 非常著名的视频,音频引擎,SDL开发库。。。。(Very famous video, audio engine, SDL development library.....)
- 2020-08-17 23:19:51下载
- 积分:1
-
CStatic(ownerdraw)
MFC Static 自绘控件,美化控件。(Static OwnerDraw)
- 2013-10-19 13:46:17下载
- 积分:1
-
Lesson6
孙鑫老师vc教学视频中源码,以及上课所用ppt,非常好,希望对大家有用(Sun Xin vc teachers teaching video source, and the school used ppt, very good, want to be useful)
- 2011-09-11 09:40:42下载
- 积分:1
-
pipe communication
利用管道通信的一个demo,c++管道实现利用了命名管道的方法(Using a demo, C + + pipeline for pipeline communication, the method of named pipeline is used)
- 2020-06-21 12:40:01下载
- 积分:1
-
格子玻尔兹曼方法描述二维方腔顶盖驱动流
说明: LBGK 常用代码,格子玻尔兹曼方法描述二维方腔顶盖驱动流,适合初学者(LBGK common code, lattice Boltzmann method)
- 2020-06-11 16:15:50下载
- 积分:1