题解列表

筛选

题解解解解解解解解

摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){   int a,b,n;    cin>>a>>b>>n;    cout<<……

普通的写法

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<set>using namespace std;const int N =10……

留住了塔没留住她:[编程入门]三个数最大值

摘要:解题思路:    学过C++都知道,C++有一个函数叫做“max( 变量A , 变量B );”它可以让我们得出变量A 变量B的最大值    所以我们可以使用这个函数。注意事项:    注意:不管你学了……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names……

题目 1850: 判断第几天

摘要:解题思路: for循环+switch足以解这道题注意事项:1.2月的闰月要判断 2.循环的条件  int i = 1; i < m; i++ 不能等于m不然会多加一个月份的天数 3. sum在每一次输……

1006: [编程入门]三个数找最大值

摘要:解题思路:这道题更简单,只是单纯的找最大值;注意事项:是最大值,不是最小值参考代码:#include<bits/stdc++.h> using namespace std; int a[100],……

1001: [编程入门]第一个HelloWorld程序

摘要:解题思路:这道题非常的简单呢,这道题是直接输出。注意事项:是直接输出,不需用cin。我们要注意上下要有“**************************”。也要用到cout来输出。要有换行参考代码……