Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Why I got WA.I solved this problem using scc and bfs. (If they have cycle, they are fired one time) As use scc algorithm, I made graph with DAG. And I begin firing lowest underling group. When I fire group, I calculate maximum profit and minimum number of employees to fire. I think maximum profit have priority to number of fired employees. I don't know what I have wrong. plz teach me Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator