题解列表

筛选

2000: 偶数列举

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

题解 2000: 偶数列举

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

题解 2544: N以内累加求和

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

3010: 奇偶数之和(超简单)

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

2794: 求平均年龄

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

排队打水问题贪心求解

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

面向结果编程

摘要: #include using namespace std; typedef struct fff { int num; int……