-
liu
一.问题描述
对2006年度全国80多个城市的每天空气质量状况进行查询、排序等操作。
空气质量状况对象包括城市代码、城市名称、首要污染物、污染指数、污染物级别、空气状况、年、月、日
二、实验要求
1. 普通查询:输入城市名称和城市代码,分别查询该城市每天、每周、每月、每季度和全年的空气质量状况
例子:查询太原市2006年第8周的空气质量状况
2.统计查询:
(1)输入城市名称和城市代码,分别查询该城市每周、每月、每季度和全年的空气质量为优、良、轻微污染、轻度污染、重污染的天数
例子:查询石家庄市2006年第2季度空气质量为轻微污染的总天数
(2)根据时间查询空气质量状况:输入周编号、月编号、季度编号或年编号,以及空气质量为优、良、轻微污染、轻度污染、重污染的天数,查找相应的城市名称
例子:查询2006年5月,空气被轻度污染3天以上的城市有哪些?
3.排序查询
(1)输入周编号、月编号、季度编号或年编号,查询城市空气质量的排行榜
例子:查询2006年第6周,全国空气平均质量最好的前20个城市为哪些?
三、数据文件
Data.txt(one. Problem Description of the air quality day in 2006 more than 80 cities nationwide query, sorting and other operations. Air Quality objects include city code, city name, the primary pollutant, pollution index, contaminant level, air condition, year, month, day two, experimental requirements 1. General Queries: Enter a city name and city codes, each query in the city daily, weekly, monthly, quarterly example air quality and full year: Queries air quality in Taiyuan first eight weeks of 2006 2. Statistical inquiry: (1) enter a city name and city codes, each query in the city weekly, monthly, quarterly and annual air quality as excellent, good, slight pollution, light pollution, heavy pollution days example: inquiry Shijiazhuang City in 2006 second quarter, the air quality is the total number of days a slight pollution (2) according to time of the query air quality conditions: enter the week number, month number, quarter number or in number, and the air quality is excellent, good, sli)
- 2017-04-07 10:58:37下载
- 积分:1
-
堆栈的基本功能实现,数组方式实现
堆栈的基本功能实现,数组方式实现-stack to achieve the basic functions, arrays means
- 2022-01-21 05:06:54下载
- 积分:1
-
数据结构各种算法的实现
数据结构各种算法的实现-various data structure of the algorithm to achieve!
- 2022-05-25 11:03:18下载
- 积分:1
-
sybase 数据库的写法模拟,使用ct_library
sybase 数据库的写法模拟,使用ct_library-the wording simulation, the use of ct_library
- 2023-08-17 04:55:03下载
- 积分:1
-
这是一个数据结构的常用算法,是关于字符排序的,输入一串字符用算法实现字符排序...
这是一个数据结构的常用算法,是关于字符排序的,输入一串字符用算法实现字符排序-This is a common data structure algorithms, is the sort of character input string of characters with character Sort Algorithm
- 2022-06-20 10:37:50下载
- 积分:1
-
课程管理系统!有很强的排课功能,表多,联系多,是应付老师的首选,因为一看就是自己做的!...
课程管理系统!有很强的排课功能,表多,联系多,是应付老师的首选,因为一看就是自己做的!-course management system. A strong Course Scheduling functions, tables, links, is the first choice to meet the teacher, because one can do for myself is!
- 2022-05-08 01:48:56下载
- 积分:1
-
后缀数组的一个C++实现,在字符串统计中有很大作用。
后缀数组的一个C++实现,在字符串统计中有很大作用。-Suffix array of a C++ implementation, plays a significant role in statistics in the string.
- 2022-02-10 13:54:04下载
- 积分:1
-
这是数据结构算法中的队列的实现源码。用C++开发。
这是数据结构算法中的队列的实现源码。用C++开发。-This is a data structure algorithms realize the source of the queue. With C++ Development.
- 2022-05-16 02:13:30下载
- 积分:1
-
单连表的建立与添加,删除操作.希望能帮帮忙!
单连表的建立与添加,删除操作.希望能帮帮忙!-single table even with the establishment add, delete operation. Hope can help help!
- 2022-06-28 11:10:54下载
- 积分:1
-
在线管理
应用背景一个学生只允许一个月申请一次。特点:学生1)注册2)登录3)请求离开4)休假状态5)查看简介6)编辑配置文件7)更改密码关键技术管理:1)批准休假2)拒绝离开3)编辑离开时间4)查看学生简介5)编辑学生简介6)学生的地位主要特点:一个学生只允许一个月申请一次。
- 2022-06-26 09:51:01下载
- 积分:1