消极 [个人文集]
加入时间: 2004/02/15 文章: 9097
经验值: 14803
|
|
|
作者:消极 在 虚拟法庭 发贴, 来自 http://www.hjclub.org
昭昭若昏vs斑竹15公告(一)
在下首先感谢报名参加陪审团网友大力支持,特别是居然有两位以前参加过陪审团的网友,非常感谢。
1。 为了更充分的体现陪审团成员产生的随机性,陪审团召集时间现定公告发出后的48小时。既截至时间为美东20:30 2007/10/18,请有意的网友在众议院报名,谢谢;
2。 此次陪审团将从报名成员中选出7名正式成员,和两名候补成员,候补成员以备正式成员因故缺席的情况下进入陪审团,在得到法官允许以前,候补成员不得参与讨论和投票,我在此先感谢两位无声网友的参与,你们的作用不见得比正式陪审员低;
3。 准陪审团成员的排名顺序将用淮夷网友发表在本坛2002年9月4日的程序生成。http://hjclub.com/ShowTopic.asp?ID=255266。我将在后面附上该程序源代码,如双方有疑问,请在众议院留贴;
4。 准陪审团成员名程序生成前排序,按报名先后次序;
5。 生成程序的种子数采用2007/10/18 New Jersey lottery Pick 4结果http://www.alllotto.com/latest_new_jersey_lottery_results.php,如果任何网友对这个网站有异议,请在众议院留言;
6。 正式陪审团产生。准陪审团成员名单生成后,双方各有两次机会排除名单中成员,排除顺序是原告-〉被告-〉原告-〉被告,排除不需说明原因。排除必须按名单顺序,例如,原告想要排除2,5两位准陪审团成员,原告只能先排除2,待被告完成排除后,才能排除5,如原告先排除5,而被告对前四位毫无异议,这时,原告不得回头排除2号成员。双方完成排出后,剩下的前七位准陪审团成员成为本次陪审团正式成员,八,九号成员成为候补成员。
我希望双方在准陪审团成员排名顺序顺序产生后12-24小时内完成排除程序,周末可以完成两位的法庭对决,而后陪审团可以讨论表决,具体程序在正式陪审团产生时公布。
如有困难,请速联系
消极
附:准陪审团名单排序生成程序,运行于xp,需vc6
#include
#include
// We have only 20 candidates
#define POOL_SIZE 20
// seed is the result of NEW JERSEY LOTTERY PICK 4
// in the evening of 20 Oct. 2003. We hard-code it
// here.
#define seed 9968
#define NAMEFILE "c:\\names.txt"
#define OUTPUT "c:\\output.txt"
#define MAX_NAME_SIZE 40
int main ( )
{
FILE * fp , * fpo ;
int i ,j ,n ;// seed is a constant
wchar_t * names [ POOL_SIZE ] , * jury [ POOL_SIZE ] ;
//Allocate the memory
for ( i =0 ;i
names [ i ] = new wchar_t [ MAX_NAME_SIZE ] ;
//open the name file
fp = fopen ( NAMEFILE , "r" ) ;
fpo = fopen ( OUTPUT , "w" ) ;
if ( ! fp || ! fpo ) {
printf ( "Files open error!\n" ) ;
exit ( 0 ) ;
}
//Read the names into the array
//NAMEFILE is saved in a format of one name per line
i =0 ;
while ( ! feof ( fp ) &&i < POOL_SIZE )
fwscanf ( fp ,L"%S" ,names [ i ++ ] ) ;
fclose ( fp ) ;
//test
for ( i =0 ;i
fwprintf ( fpo ,L"%S\n" ,names [ i ] );
fwprintf ( fpo ,L"\n" );
//Get the seed
//Don't need to read seed --- it's hard-coded
//printf("Please input the seed:");
//scanf("%i", &seed);
//Set the seed
srand ( seed ) ;
//Generate the order
//we will get one name in each iteration
//n is the number of names left in pool
//i is the order of jury candidates
for ( i =0 ,n =POOL_SIZE ;n >0 ;n -- ,i ++ ) {
j = rand ( ) %n ;
jury [ i ] =names [ j ] ;
//replace the chosen name by the last available name in the arry
//so that it will not be selected again.
names [ j ] =names [ n -1 ] ;
}
//print out the result
for ( i =0 ;i
fwprintf ( fpo ,L"%i %S\n" ,i + 1 ,jury [ i ] ) ;
fclose ( fpo ) ;
return 0 ;
}
上次的结果:
WM
不锈钢安魂曲
横江雪浪
2u2m
人之初
weizhi
咱老百姓(真)
牛乐吼
NOEQ
九戒
草虾
someone
北京小左
伯夷
xyzxyz
高寒
广成子
实话实说!!!
不锈钢A
blackwhite
1 九戒
2 不锈钢安魂曲
3 实话实说!!!
4 xyzxyz
5 weizhi
6 NOEQ
7 牛乐吼
8 someone
9 草虾
10 广成子
11 人之初
12 北京小左
13 伯夷
14 2u2m
15 blackwhite
16 咱老百姓(真)
17 WM
18 横江雪浪
19 不锈钢A
20 高寒
作者:消极 在 虚拟法庭 发贴, 来自 http://www.hjclub.org |
|
|