题解列表

筛选

优质题解

Manchester- 字符串连接(很经典的问题)

摘要:解题思路:不调用库函数,实现字符串连接需要自己编写的有①:求字符串长度函数int stringlen_(char *l)/*求字符串长度*/ {    int length=0;     whi……

P1003 (C语言代码)

摘要:#include<stdio.h>int main(){    int M,t,u,f,d;    scanf("%d %d %d %d %d",&M,&t,&u,&f,&d);    int sum……

P1002 (C语言代码)

摘要:#include<stdio.h>typedef struct n{    char name[21];    int score;    int grade;    char c1;    char……

P1001 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>int cmp(const void *a,const void *……