题解列表

筛选

字符串中间和后边*号删除

摘要:解题思路:注意事项:参考代码:#include<string.h>#include<stdio.h>        int fun(char *a)        {            int i……

两句话搞定

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; while (cin >> a) { cout << ……

剪刀石头布

摘要:解题思路:注意事项:参考代码:#include"stdio.h"enum leixing {shitou,bu,dao};enum shuying {shu=-1,ping,ying};int mai……

结构体之成绩统计2

摘要:解题思路:写三个子函数,分别赋值,求平均,求最大注意事项:参考代码:#include"stdio.h"int n;struct{    char num[20];    char name[20]; ……

结构体之成绩记录

摘要:解题思路:此处用的结构体数组,将结构体内容定义在主函数外面,这样子函数就能直接操作结构体的变量,分别用赋值函数与打印函数表述出注意事项:参考代码:#include"stdio.h"int n;stru……

链表合并,1052

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Student{ int num; int score;};struct Node{ ……