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

Re:二分可以正确解这道题吧?只是需要对情况分类讨论,而不只是分为可行与不可行

Posted by Samhammer at 2020-11-03 00:26:23 on Problem 2010
In Reply To:Re:二分可以正确解这道题吧?只是需要对情况分类讨论,而不只是分为可行与不可行 Posted by:Samhammer at 2020-11-03 00:25:22
3 5 3
4 10
5 10
6 1
7 1
8 1

output = -1
ans = 7

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