2794: 求平均年龄 摘要:```cpp #include #include using namespace std; int main() { int n,m,i=0; double sum=0;…… 题解列表 2023年01月18日 0 点赞 0 评论 687 浏览 评分:9.9
2801: 奇数求和 摘要:```cpp #include using namespace std; int main() { int m,n,t,s=0; cin>>m>>n; if(m>…… 题解列表 2023年01月18日 0 点赞 0 评论 582 浏览 评分:9.9
能量项链python代码 摘要:解题思路:注意事项:参考代码:n=int(input())a=list(map(int,input().split()))a=a[:n:]a.extend(a[:])a.insert(0,0)f = …… 题解列表 2023年01月18日 0 点赞 0 评论 473 浏览 评分:0.0
2998: 电影票 摘要:```cpp #include using namespace std; int main() { int x; cin>>x; cout…… 题解列表 2023年01月18日 0 点赞 0 评论 592 浏览 评分:9.9
2999: 牛吃牧草 摘要:方法一: ```cpp #include using namespace std; int main() { cout…… 题解列表 2023年01月18日 1 点赞 0 评论 2171 浏览 评分:5.0
1333: [NOIP2004]合并果子 摘要:```cpp #include #include using namespace std; const int N(30005); long long a[N],b[N]; int mai…… 题解列表 2023年01月18日 0 点赞 0 评论 458 浏览 评分:9.9
模拟计算器(水题) 摘要:```c #include int main(){ int a,b; char ch; scanf("%d%d %c",&a,&b,&ch); switch(ch){ …… 题解列表 2023年01月18日 0 点赞 0 评论 360 浏览 评分:0.0
蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct Complex{ int imag; int real…… 题解列表 2023年01月18日 0 点赞 0 评论 351 浏览 评分:0.0
累加求和简短版 摘要:解题思路:注意事项:sum一定要初始化为0参考代码:#include<stdio.h>int main(){ int n,sum=0; scanf("%d",&n); int i; for(i=1;i…… 题解列表 2023年01月18日 0 点赞 0 评论 665 浏览 评分:9.9
1352: Matrix67的派对 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int n, k; int h…… 题解列表 2023年01月18日 0 点赞 0 评论 547 浏览 评分:0.0