机试填空选择题答案
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
while (a[i]==0) for(t=1; t< maxt*(n-1); t++) (a>c)?a : ((b>c)?c:b)); while(t<=x) s1=t%10; s2=(t/10)%10; s3=t/100; while(s) x=10*x+t; if(t%2!= 0) for(i=1; i<=n; i++) t=2*i; while(x > e) i++; for(i=0; i<k; i++) t[j+i]=p[i]; for(i=0; i<k; i++) p[j+i]= t[i]; for(i=0; i<N; i++) av = av + x[i]/N; d=*av-x[i]; j=i;} y[j++]=x[i]; x[i]=-1;} y[j]=x[i]; x[i]=-1; j++;} s++; } if( x==a[i] ) break; k[n]+= 1 ; for(j= i ; j<N-i; j++) if( (row!=colum) || (row!=m1) ) return 0; for(i = 0 ; i < N ; i++) for(j=0; j< N-1 ; j++) a[i][j]=a[i][j+1]; if (k!=i && a[k][c]<=rmax) find= 0 ; for(i=len-n; i<=len-1; i++) t[j++]= s[i] ; lp++; rp -- ; } if (*s==' ') flag= 0 ; s++ ; s++; k[n]+= 1 ; if(strlen(ps[k]) < strlen(ps[j]) ) k=j; if(strcmp(ss[i],t)==0 ) return i ; if(len<= k) if( strstr(ss[i], substr) != NULL ) while(i< N) { strcpy(b.name, "LiSi"); strcpy(b->name, "LiJie"); strcpy(a.name, "LiSi"); for (i=0; i<3; i++) a->score[i] += 1; for (i=0; i<n-1; i++) if (n.sno==sno) break; f = f1 ; /* point fountion f1 */ q = p->next ; r = q->next; if (p==0) return;
printf("\nName : %s, Age : %d\n", max.name,max.age);
show(std); strcpy(ss[k],t); ss[i][j]='*'; ss[i][n+j+1]='\0'; *n=len; return(k); for(i=0; i<j; i++) s[k+i]=t2[i]; s[j+1]= s[j]; *t=n; s[1]=c; p[j]=0; s[j+1]=c; for(j=0; j<m; j++) t[i][0]=x; t[j][N-1]=r[j]; t[j][i]=0; t[i][n-1-i]=s; sum+= t[i][n-i-1] ; return j; return j; if (min>a[j]) for (j=i+1; j<n; j++) a[p+i] = t; a[n-i-1] = t; return '9'-(ch-'0'); return ch; f += t; while (fabs(t) >= 1e-6); t *= x/i; f += t; if (j>=i) case 2: c2++;break;
int fun(STYPE *std) void WriteText(FILE *fw) fprintf(fp,"%d %f\n",i,sqrt((double)i)); if((fs=fopen(source, "r"))==NULL) s->data=x; t=t->next; free(q); while(p!=0) *n=0; s+= p->data; STU fun(STU *std, char *num) if(std[i].year==year) void modify(STU *ss,float a) void fun(PERSON *std) max= *std; void show(STU tt) for(j=i+1; j<M; j++) n=len; k=i; n=strlen(ss[i]); int fun(char (*ss) [N], int *n) for(i=0; i<M; i++) t2[j]=s[i]; j++; if(s[i]>='0' && s[i]<='9') for(i=0; s[i] !=NULL; i++) if(n%2==0) k=n-1; t=i; for(i=0; s[i]!=0; i++) for(i=0; i<N; i++) for(i=0; i<N; i++) t[0][N-j-1]=t[j][0]; void fun(int (*t)[N]) void fun(int t[][N] , int n) sum=0; if (a[i]%2==1) if (a[i]%2== 0) { max = min = a[i]; void fun(int *a, int n) p = (n%2==0)?n/2:n/2+1; for (i=0; i<n/2; i++) char fun(char ch) if ((ch>='a')&&(ch<='z')) f = 1; t = x; t = 1; f = 1.0+x; for (j=2; j<i; j++) switch(n%10)
q = p->next ; double fun(int i, double x, double FILE * fp; FILE * fp; fp = fopen(filename, "rb"); fp = fopen(filename, "rb+");
y)
)i));
FILE *fp; int i; fputs(str,fwபைடு நூலகம்; fputs("\n",fw); fclose(fp); while(!feof(fs)) q=p; printf(" %d ",t->data); q=p->next; if (p->data==ch) return n; p=p->next; p=p->next; if( strcmp(std[i].num,num)==0 ) k[n++]= std[i]; ss->score[i] *=a; PERSON temp; if(max.age<std[i].age) max=std[i]; printf("%5.1f", tt.score[i]); if(n[k]>n[j]) k=j; for(j=len-1; j>=0; j--) ss[i][n+j]='*'; if(i==0) *n=len; if(len < *n) for(i=0; i<k; i++) s[i]=t1[i]; while(s[i+1+n]!= 0) n++; if(s[i]>='0'&&s[i]<= '9') n++; c=s[k]; for(j=i+2 ; j<n; j=j+2) n=0; t[i][j+m]=t[i][j]; x=t[i][N-1] ; for(j=N-1; j>=0;j--) t[i][j] =t[i][j]+t[j][i]; for(i=0;i<n; i++) sum+=t[i][i] ; a[j] = a[i]; j++; a[j] = a[i]; j++; if (max<a[j]) for (i=0; i<n-1; i+=2) a[i] = a[p+i]; a[i] = a[n-1-i]; if (ch>='0' && ch<='9') return ch +'a'-'A' ; t *= (-1)*x/i; t *= (-1.0)*x/n; for (i=1; i<n; i++) t *= x/n; if (i%j == 0) case 1: c1++;break;
fclose(fp);
for (j=a[i]*2; j<=n; j+=a[i]) #define OK(i, t, n) ((i%t==0) && (i/t<n)) t = (a>b) ? (b>c? b :(a>c?c:a)) : ((a>c)?a : ((b>c)?c:b)); n=0; while(t<=999){ i=1; if(t%2==0) { t=*n % 10; s=0; k=1; x=3./4; s=0; i=0; t[j]=s[i]; j++;} p[j]=s[i]; j++;} av=0; *av=s/N; av=s/N; for(i=0; i<N; i++) av +=x[i]/N; d=d*10+*s-'0'; while (n<N) ch=tolower(*s); void fun(int (*a) [N]) row=colum= 0; void fun(int (*a)[N], int k) for(p=1; p<= k; p++) rmax=a[i][j]; c= j ; } if(n>=len) strcpy(t,s); lp= s ; n++ ; flag=1;} *(t+n)= *s ; n++; } if( isdigit(*s) ) sum+= *s- 48 ; ch=tolower(*s); k= i ; for(i=0; i< N ; i++) for(i=0; i<N ; i++) for(i=0; i< N ; i++) void fun(char (*ss) [M], int k) b = a; b->sno = 10004; struct student fun(struct student a) struct student * fun(struct student *a) struct student t; while (!feof(fp)) double (*f)(); p = h->next ; NODE * fun(NODE *h) p = h->next;
if (a[i]!=0) return count; t++; if(s1+s2+s3==x) x=x+t*i; i=i*10; n=n/10; *n=x; s=s+(2.0*i-1)*(2.0*i+1)/(t*t); k=k*(-1); x=(2*i+1)/(t*t); x=(2.0*i-1)/((2.0*i)*(2.0*i)); t[j+k]= 0; return p; if(x[i]>av) y[j++]= x[i]; return x[j]; if( x[i]!= -1) y[j++]=x[i]; i++; return ctod(a)+ctod(b); if( i==n){ a[n]=x; n++; } max=k[n] a[k][i]=a[k][N-i-1]= i+1; return 1; a[0][i] = a[k][i] ; a[i][N-1]= temp; i++; t[j]= 0 ; if(lp<rp) return 0 ; s++ ; return n ; return sum ; if(max<k[n]) max= k[n] ; tp=ps[i]; ps[i]=ps[k]; ps[k]= tp ; if(n== -1) printf("\nDon't found!\n"); strcpy(ss[j++],ss[i]); if (find==0) printf("\nDon't found!\n"); ss[i][k]=0; i++; } for (i=0; i<3; i++) printf("%6.2f ", b.score[i]); fun(&t); for (i=0; i<3; i++) a.score[i]+= 1; return a ; if (strcmp(a[i].name,a[j].name) > 0) fseek(fp, -(long)sizeof(STU), SEEK_CUR); f = f2 ; /* point fountion f2 */ if (p->data >= q->data) q = r ; p = q; q = r;
while (q) return f1(x); while (!feof(fp)) { fclose(fp) ; if (s[i].sno >s[j].sno) fseek(fp, -(long)sizeof(STU), SEEK_END);
fwrite(&std[i], sizeof(STYPE), 1, fp); printf("%s",str); if((fp=fopen(fname,"r"))==NULL) fputc(ch,ft); q->next=s; free(t); q=q->next; k=fun(head,ch); fun(head, &num); printf("\nsum=%d\n", fun(head)); return (std[i]); return (n); modify(&std,a); fun(std);