如何分配考场的座位..请帮帮我。 [英] how to allot a seat in examination hall.. please help me.

查看:71
本文介绍了如何分配考场的座位..请帮帮我。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在考场分配座位..请帮帮我。

how to allot a seat in examination hall.. please help me.

推荐答案

随机听起来不错:设置所有可用座位的清单,每次随机选择一个。将其从列表中删除,以便它不能双重预订。





但是,这是你的功课,所以你将不得不为自己编制代码!如果你对代码有特定的问题,那就问一下 - 但是我们不是要把你的解决方案交给你......
Randomly sounds good: Set up a list of all the seats available and each time select one at random. Remove it from the list so that it can't be "double booked".


But, this is your homework, so you will have to work out the code for yourself! If you get a specific problem with the code, then ask about that - but we aren't here to hand you "the solution"...


嘿伙计,



哪个考试大厅???你想要什么类型的座位?



学校考试?大学考试?入学考试??



至少告诉我们你想要什么!那么只有我们能够帮助你。
Hey Buddy,

Which Exam Hall??? and What type of seat do you want??

School Exam?? College Exam?? Entrance Exam??

At least tell us what do you want!! then only we will be able to help you.


这篇关于如何分配考场的座位..请帮帮我。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆