CLOSE DATABASES ALL
USE hz1 IN 0
nRecc=RECCOUNT()
CALCULATE Max(bj) TO nMax
CREATE CURSOR tt (bj c(2),lb c(20),rs n(4))
cField="班级 c(2)"
FOR i=1 TO INT(0.85/0.05) STEP 2
SELECT Hz1
CALCULATE MIN(Smzf) TO nMin FOR Smzfjm<=nRecc*0.05*i
cField=cField+","+"F"+TRANSFORM(INT(nMin)...
编程论坛 - 求VFP代码:怎样调整学生使两个班的学生男女人数相差1人;住校和非住校人数相差1人;两个班的平均成绩差距在1分以内?
https://bbs.bccn.net/viewthread.php?tid=379827&extra=&highlight=%B3%C9%BC%A8&page=2