??

P5719 【深基4.例3】分类平均

yangwenbin @ 2020-02-26 19:43:44

数据是不是有误


by dingcx @ 2020-02-26 19:48:59

反正没人A


by jijidawang @ 2020-02-26 19:49:01

@yangwenbin +1


by jijidawang @ 2020-02-26 19:49:18

我WA两个点,\mathcal{O}(1)


by C C A @ 2020-02-26 20:03:23

@jijidawang 读入都是O(n)......


by lihaobushiren @ 2020-02-26 20:07:52

数据没问题。

有三种特殊情况\ 1.k=0\ 2.统计A类数的个数是0\ 3.统计B类数的个数是0\ 。。。\ 嘤嘤嘤


by jijidawang @ 2020-02-26 20:07:54

@♂♂ 读入不是 n,k 嘛,\mathcal{O}(1)


by lihaobushiren @ 2020-02-26 20:08:32

我改了三把才改对


by jijidawang @ 2020-02-26 20:12:04

@lihaobushiren thx


|