文件名称: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