这个层层推进的问题,如何建立???,请教各位!!
我想在D盘根目录建立(用循环的方式)个文件(cyuyan.txt)装入如下的内容:a[m1+m2+m3+m4][0]==10 && a[m2+m3+m4][m1]==10 && a[m3+m4][m1+m2]==10 && a[m4][m1+m2+m3]==10
a[m1+m2+m3+m4+m5][0]==10 && a[m2+m3+m4+m5][m1]==10 &&a[m3+m4+m5][m1+m2]==10 && a[m4+m5][m1+m2+m3]==10 && a[m5][m1+m2+m3+m4]==10
a[m1+m2+m3+m4+m5+m6][0]==10 && a[m2+m3+m4+m5+m6][m1]==10 &&a[m3+m4+m5+m6][m1+m2]==10 && a[m4+m5+m6][m1+m2+m3]==10 && a[m5+m6][m1+m2+m3+m4]==10 && a[m6][m1+m2+m3+m4+m5]==10
a[m1+m2+m3+m4+m5+m6+m7][0]==10 && a[m2+m3+m4+m5+m6+m7][m1]==10 &&a[m3+m4+m5+m6+m7][m1+m2]==10 && a[m4+m5+m6+m7][m1+m2+m3]==10 && a[m5+m6+m7][m1+m2+m3+m4]==10 && a[m6+m7][m1+m2+m3+m4+m5]==10 && a[m7][m1+m2+m3+m4+m5+m6]==10
a[m1+m2+m3+m4+m5+m6+m7+m8][0]==10 && a[m2+m3+m4+m5+m6+m7+m8][m1]==10 &&a[m3+m4+m5+m6+m7+m8][m1+m2]==10 && a[m4+m5+m6+m7+m8][m1+m2+m3]==10 && a[m5+m6+m7+m8][m1+m2+m3+m4]==10 && a[m6+m7+m8][m1+m2+m3+m4+m5]==10 && a[m7+m8][m1+m2+m3+m4+m5+m6]==10 && a[m8][m1+m2+m3+m4+m5+m6+m7]==10
a[m1+m2+m3+m4+m5+m6+m7+m8+m9][0]==10 && a[m2+m3+m4+m5+m6+m7+m8+m9][m1]==10 &&a[m3+m4+m5+m6+m7+m8+m9][m1+m2]==10 && a[m4+m5+m6+m7+m8+m9][m1+m2+m3]==10 && a[m5+m6+m7+m8+m9][m1+m2+m3+m4]==10 && a[m6+m7+m8+m9][m1+m2+m3+m4+m5]==10 && a[m7+m8+m9][m1+m2+m3+m4+m5+m6]==10 && a[m8+m9][m1+m2+m3+m4+m5+m6+m7]==10 && a[m9][m1+m2+m3+m4+m5+m6+m7+m8]==10
a[m1+m2+m3+m4+m5+m6+m7+m8+m9+m10][0]==10 && a[m2+m3+m4+m5+m6+m7+m8+m9+m10][m1]==10 &&a[m3+m4+m5+m6+m7+m8+m9+m10][m1+m2]==10 && a[m4+m5+m6+m7+m8+m9+m10][m1+m2+m3]==10 && a[m5+m6+m7+m8+m9+m10][m1+m2+m3+m4]==10 && a[m6+m7+m8+m9+m10][m1+m2+m3+m4+m5]==10 && a[m7+m8+m9+m10][m1+m2+m3+m4+m5+m6]==10 && a[m8+m9+m10][m1+m2+m3+m4+m5+m6+m7]==10 && a[m9+m10][m1+m2+m3+m4+m5+m6+m7+m8]==10 && a[m10][m1+m2+m3+m4+m5+m6+m7+m8+m9]==10