由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 求助一个代码题
相关主题
bloomberg 电话面试问题java问题
一道面试题[合集] google 首轮面世汇报
design类咋准备?求推荐讲OO Design的书 (转载)
C++ Q76: singly linked list -- 这个逆序打印有什么错?Interviews with Heads of Accenture, SAS (转载)
菜鸟问个C++的pointer问题问个题,用递归方法
面试面试官错了怎么办?suggestions needed
大牛们帮忙,Rverse Nodes in k-Group问个比较弱的CS问题
求两个程序的C++ code请教英语问题“我一下想不起来”英语怎么说?
相关话题的讨论汇总
话题: particles话题: headed话题: chamber话题: toward话题: string
进入JobHunting版参与讨论
1 (共1页)
i***t
发帖数: 34
1
想了半天不知道怎么做比较好,要求用C/C++写,thanks
A collection of particles is contained in a linear chamber. They all
have the same speed, but some are headed toward the right and others are
headed toward the left. These particles can pass through each other without
disturbing the motion of the particles, so all the particles will leave the
chamber relatively quickly.
You will be given the initial conditions by a String init containing at each
position an 'L' for a leftward moving particle, an 'R' for a rightward
m*****g
发帖数: 226
2
没有算法
就是写出来而已
1 (共1页)
进入JobHunting版参与讨论
相关主题
请教英语问题“我一下想不起来”英语怎么说?菜鸟问个C++的pointer问题
一道linked list编程题面试面试官错了怎么办?
Careercup书第四版一道题的解答有错大牛们帮忙,Rverse Nodes in k-Group
Head of the office给我回信说要下周才能出结果?求两个程序的C++ code
bloomberg 电话面试问题java问题
一道面试题[合集] google 首轮面世汇报
design类咋准备?求推荐讲OO Design的书 (转载)
C++ Q76: singly linked list -- 这个逆序打印有什么错?Interviews with Heads of Accenture, SAS (转载)
相关话题的讨论汇总
话题: particles话题: headed话题: chamber话题: toward话题: string