题解列表

筛选

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    char str[301];    fgets(str, size……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, j; scanf_s("%d", &n); for (i = 0; i < n; i++) ……

a+b的最简方法

摘要:/这题是一道非常经典的题目,是编程初学者的必会题。(大佬请屏蔽)//首先头文件、名字空间我就不说了,这是得会背的内容,如下:#include<bits/stdc++.h>//这是一个万能头文件,可以背……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ float score[7]; char name[50];};int main(){ struct s……

二级编程,分段函数,

摘要:解题思路:注意事项:记得加头文件,更改数据类型参考代码:#include<iostream>#include <cmath>//头文件,必加 #include <iomanip>//同上using n……

我奶奶都会

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    int i;    char a[300];    gets(a)……