Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

1464 Company - PKU

Posted by wahab at 2007-08-04 07:56:51 on Problem 1464
Please can you help me solve the following problem in pku online judge http://acm.pku.edu.cn/JudgeOnline/problem?id=1464 i am trying to solve it for more than two months and i cannot get any working solution. my solution uses matrix row operations to solve the system of linear equations but i know that it will fail to get a solution for the following test case for example, with only a single week's data:

Job 1 - 1 hour worked
Job 2 - 1 hour worked
Total paid: 2

Considering this only as a system of linear equations obviously gives no unique solution (1 equation, 2 unknowns). However, there is a unique solution if both of the hourly rates have to be positive integers.

Thanks



Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator