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 |
Re:离散化有问题的试试这组数据In Reply To:离散化有问题的试试这组数据 Posted by:5120223383 at 2023-07-21 17:30:06 > 1 > 3 > 1 4 > 1 2 > 3 4 > ans=2是3的把间隔去了 > (从后往前不用间隔) 这个题貌似有点问题,如 1 3 1 10 1 4 7 10 这组数据最后答案应该是3,3个报纸都可以看到,但是我们刚刚在处理之前那组数据时 > 1 > 3 > 1 4 > 1 2 > 3 4 去掉了离散化里的间隔,导致现在程序的反馈是2.....不过却AC了这个题,看来这个题大抵是不用间隔的 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator