题解列表

筛选

2837: 年龄与疾病

摘要:``` #include using namespace std; int n[100000],a; double q,w,e,r; int main() { cin>>a; for……

1098: 陶陶摘苹果

摘要:```cpp #include using namespace std; int h[10],a; int main(){ for( int i=1;i>h[i]; } cin>>……

3000: 交换值

摘要:```cpp #include using namespace std; int main() { int a, b; cin >> a >> b; int temp =……

纪念品分组 较为简单

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;int a[31111];int main(){     ……

整型与布尔型的转换

摘要:解题思路:无注意事项:不要抄袭,会遭报应的。参考代码:#includausing nanespace sbd;ibt maia(){    ibt a;    cia>>b;    caut<<(ao……

1049: [编程入门]结构体之时间设计

摘要:题目解读:这道题就是给我们日期,让我们通过程序计算出该日期是这一年的第几天。解题思路及代码:       首先,我们要定义用于存储年,月,日的变量。在这里有两个方法,第一种如题目名,用定义结构体的方法……

编写题解 2749: Hello, World!

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    cout<<"Hello, World!";}……