题解列表

筛选

C++简短小白解法

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    long long int i,item,sum=0;……

小白单纯记录自己题解

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int temp,j,i,m,n,a[1000],b[1000]……

编写题解 1106: 奖学金

摘要:解题思路:结构体由总分,学号,语数英三部分组成,然后按照代码所示的嵌套条件进行排序。注意事项:参考代码:#include<stdio.h>typedef struct Student{ int num……

StringBuffer中的reverse

摘要:# ```java public class c1031 { public static void main(String[] args) { // TODO 自动生成的方法……

题目 1160: 出圈

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define MAX 100000int main() {    int m,n;    while(scanf("%d%d",&n,……

数组的距离

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>int main() {    int m,n,temp;    s……

题解 1004: [递归]母牛的故事

摘要:解题思路:递归就是程序调用自己的算法。将该问题转化为数学公式,可判断f(n)=f(n-1)+f(n-3).f(n)是第n年的母牛总数注意事项:~scanf("%d",&n) 上面的代码不是输入为0时,……