-
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
-
chap11-15
这是Windows程序设计(第五版)第11章-第15章的源代码!(This is a Windows program design (fifth edition) Chapter 11- Chapter 15 of the source code!)
- 2008-01-03 11:36:42下载
- 积分:1
-
database
说明: 济南中学学生信息管理系统,MFC实现,包括 基本信息管理(科室信息管理,科目信息管理,教师信息管理,班级信息管理,班级信息设置,考试类别设置),学生管理(学生信息管理,学生成绩录入,成绩等级设置,学生违规处理),查询管理(学生信息查询,学生成绩报表,学生违规查询),系统管理(用户管理,退出系统)和帮助(系统帮助,关于系统)。(Ji'nan middle school student information management system, MFC implementation, including the basic information management (Department of information management, course information management, teacher information management, class information management, class information, examination category), student management (student information management, student achievement entry, grade setting, students illegal processing), query (student management information query, student achievement report, students), illegal inquiries system management (user management, exit the system and help (help) system, a system).)
- 2020-11-06 23:09:49下载
- 积分:1
-
ff
说明: 淘宝商品放大镜代码,基本代码 (Taobao commodity magnifier code, basic code)(Taobao commodity magnifier code, basic code)
- 2020-06-17 10:20:02下载
- 积分:1
-
使VB控件支持XP风格并需要要管理员权限运行
说明: 使VB6的控件支持xp风格,并实现管理员权限运行!(Make VB6 control support XP style, and realize administrator privilege operation!)
- 2020-06-21 08:00:02下载
- 积分:1
-
this program demonstrated how to handle through the window from the desired comm...
本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口-this program demonstrated how to handle through the window from the desired command control interface IHtmlDocument2
- 2022-03-25 06:43:15下载
- 积分:1
-
laplace
Laplace可以应用于图像的锐化,根据其原理,对于Laplace后的图像同样可以进行边缘检测。(Laplace can be applied to image sharpening. According to its principle, edge detection can also be performed for images after Laplace.)
- 2020-07-15 18:28:50下载
- 积分:1
-
一个可以检测网络连接状况并能查询当日各大城市的天气状况的程式...
一个可以检测网络连接状况并能查询当日各大城市的天气状况的程式-can detect an Internet connection and check the date of the major cities in weather conditions formula
- 2022-01-25 23:18:15下载
- 积分:1
-
WindowManagerPolicy
This interface supplies all UI-specific behavior of the window manager.
- 2013-12-29 14:52:09下载
- 积分:1
-
ipca
第二种增量的主成分分析算法,能够增量地获取高维数据的主成分。(《Incremental PCA or On-Line Visual Learning and Recognition》)
- 2009-11-08 20:53:05下载
- 积分:1