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 cotton at 2011-10-25 19:53:03 on Problem 2777
In Reply To:看看这组数据应该输出什么? Posted by:szsdk at 2011-10-21 20:25:48
> 11 6 14
> C 2 4 1
> C 5 5 3
> P 5 1
> 
> 应该输出2还是3?
> 
> 我觉得是3 但拿AC的程序 输出的是2
> 能告诉我为什么吗?

答案是2
默认每个点都被涂成1
C 2 4 1
就相当于没涂

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