为什么同一份代码分数不一样?

P1001 A+B Problem

SegmentTree_ @ 2024-10-04 16:43:55

100
80
0


by cjh20090318 @ 2024-10-04 16:50:44

@tianyu_awa

这缺省源……但是你这不是随机数吗(


by cly312 @ 2024-10-04 16:51:23

@tianyu_awa 不确定,单个点 \frac{1}{3} ,所以应该是 \frac{1}{30} 但是因为以time(0) 作为种子,所以如果评测机在同一秒评测,就不是\frac{1}{30}


by cly312 @ 2024-10-04 16:51:59

@tianyu_awa 你可以多次测试出结果


by SegmentTree_ @ 2024-10-04 16:53:21

好的谢谢打捞门


by mclvlc @ 2024-10-06 15:04:23

@NINT 谁家斯潘顿


by XQJ001 @ 2024-10-06 18:34:12

@tianyu_awa %30-%31


上一页 |