-
PAT
Given N rational numbers in the form "numerator/denominator", you are supposed to calculate their sum.
输入描述:
Each input file contains one test case. Each case starts with a positive integer N (<=100), followed in the next line N rational numbers "a1/b1 a2/b2 ..." where all the numerators and denominators are in the range of "long int". If there is a negative number, then the sign must appear in front of the numerator.
输出描述:
For each test case, output the sum in the simplest form "integer numerator/denominator" where "integer" is the integer part of the sum, "numerator" < "denominator", and the numerator and the denominator have no common factor. You must output only the fractional part if the integer part is 0.(Input Description:
Each input file contains one test case. Each case starts with a positive integer N (<=100), followed in the next line N rational numbers "a1/b1 a2/b2 ..." where all the numerators and denominators are in the range of "long int". If there is a negative number, then the sign must appear in front of the numerator.
Output Description:
For each test case, output the sum in the simplest form "integer numerator/denominator" where "integer" is the integer part of the sum, "numerator" < "denominator", and the numerator and the denominator have no common factor. You must output only the fractional part if the integer part is 0.)
- 2019-03-02 14:33:27下载
- 积分:1
-
KPCA
说明: 数据降维的实现,核主成分分析的MATLAB实现代码(Data dimension reduction implementation, kernel principal component analysis of Matlab implementation code)
- 2021-01-13 09:51:44下载
- 积分:1
-
某地测风塔数据
说明: 某地测风塔历史数据,适合预测类数据分析使用,(The historical data of a wind tower in a certain area is suitable for the analysis and use of predictive data.)
- 2021-03-29 16:49:10下载
- 积分:1
-
house-prices-advanced-regression-techniques
Kaggle竞赛中的房价预测数据集,一共三个csv文件,包括:测试集,训练集和房价真实值。(The data set of house price forecast in Kaggle competition consists of three CSV files, including test set, training set and real value of house price.)
- 2021-04-12 22:58:57下载
- 积分:1
-
Kalmam_Filtering_practice_and_theory_using_matlab
说明: 卡尔曼滤波器,理论与实践,第三版,2008,pdf 电子书。
Kalman Filtering - Theory and Practice using Matlab(Kalman filter theory and practice, third edition, 2008, pdf e-book. Kalman Filtering- Theory and Practice using Matlab)
- 2010-04-08 16:52:22下载
- 积分:1
-
Cooperative-spectrum-sensing
基于双门限的协作能量检测方法以及Dempster-Shafer理论(Double Threshold Energy Detection of Cooperative Spectrum Sensing in Cognitive Radio)
- 2011-05-12 23:21:17下载
- 积分:1
-
CentOS系统管理
CentOS系统管理,系统管理当中的常用命令及其说明文档。(The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities, we offer a solid, predictable base to build upon, along with extensive resources to build, test, release, and maintain their code.)
- 2020-06-17 22:00:01下载
- 积分:1
-
2
51单片机中使第一个灯闪烁的c程序在压缩包中包含c程序和keil工程等等,需要的可自行打开观看(The C program which makes the first lamp flicker in the 51 single chip computer includes C program and keil project in the compression package, etc. It can be opened and watched by itself if needed.)
- 2020-06-21 05:40:02下载
- 积分:1
-
181060021李闯—机器人运动分析
说明: 课题作业,模拟了刚体的运动,以实现类似机器人的避障功能(The class assignments in the class simulate the rigid body movement to achieve a robot-like obstacle avoidance function)
- 2020-05-22 09:15:31下载
- 积分:1
-
一个支持语法高亮的ASP.NET编辑器
一个支持内嵌了CodeHighlighter 提供的高亮代码功能的ASP.NET网页编辑器,原“口凡网编辑器”,用来显示有源代码的内容时看上去很专业,用户体验好,,再封装成一个DLL...Controls文件夹,里面是编辑器DLL的源码,Web文件夹是一个Demo。。
- 2023-02-11 16:50:04下载
- 积分:1