摘要: 问题描述 数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。有n个不计体积的小球在线段上,开始时所有的小球都处在偶数坐标上,速度方向向右,速度大小为1单位长度每秒。 当小球到达线段的端点(左端点或右端点)的时候,会立即向相反的方向移动,速度大小仍然为原来大小。 当两个小球撞到一 阅读全文
posted @ 2019-08-13 22:16 ~comet~ 阅读(226) 评论(0) 推荐(0)
摘要: 1.这里将compile修改为implementation 由于我使用的安卓Q版本(29)会出现提醒Version 28 (intended for Android Pie and below) is the last version of the legacy support library, s 阅读全文
posted @ 2019-08-13 09:27 ~comet~ 阅读(1870) 评论(0) 推荐(0)