题解列表

筛选

2794: 求平均年龄

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

2805: 乘方计算

摘要:``` #include using namespace std; int main(){ int a,n,sum; cin>>a>>n; sum=1; for(int i=0;……

计算邮资 简洁写法

摘要:``` #include using namespace std; int main() { int n; char c; cin >> n >> c; int ans = 8;……

2892: 最好的草

摘要:对找到的草进行扩展参考代码:#include<iostream> #include<cstdio> #include<cstdlib> using namespace std; int m……