文件名称:mayi
介绍说明--下载内容来自于网络,使用问题请自行百度
一根长度为L厘米的木棍上有n只蚂蚁,每只蚂蚁要么朝左爬,要么朝右爬,速度为1厘米/秒。当两只蚂蚁相撞时,二者同时掉头(掉头时间忽略不计)。给出每只蚂蚁的初始位置和朝向,计算T秒之后每只蚂蚁的位置。
-A length of n ants on L cm stick, each ant crawling either the left or to the right to climb rate of 1 cm/sec. When two ants collide, both at the same time turn around (turn around time is negligible). Each ant is given the initial position and orientation of each ant position after calculating T seconds.
-A length of n ants on L cm stick, each ant crawling either the left or to the right to climb rate of 1 cm/sec. When two ants collide, both at the same time turn around (turn around time is negligible). Each ant is given the initial position and orientation of each ant position after calculating T seconds.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
11.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
