能量项链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 评论 499 浏览 评分:0.0
2801: 奇数求和 摘要:```cpp #include using namespace std; int main() { int m,n,t,s=0; cin>>m>>n; if(m>…… 题解列表 2023年01月18日 0 点赞 0 评论 606 浏览 评分:9.9
2794: 求平均年龄 摘要:```cpp #include #include using namespace std; int main() { int n,m,i=0; double sum=0;…… 题解列表 2023年01月18日 0 点赞 0 评论 711 浏览 评分:9.9
1463: 蓝桥杯基础练习VIP-Sine之舞 摘要:参考代码:n = int(input())def an(n): for i in range(1, n + 1): if i == 1: print('…… 题解列表 2023年01月18日 0 点赞 0 评论 354 浏览 评分:9.9
C语言训练-求矩阵的两对角线上的元素之和(水题) 摘要:```c #include int main(){ int n,a[10][10],i,j,sum=0; scanf("%d",&n); for(i=0;i…… 题解列表 2023年01月18日 0 点赞 0 评论 426 浏览 评分:9.9
1244: 破解简单密码 摘要:```cpp #include using namespace std; int main() { string s; while(cin>>s) { …… 题解列表 2023年01月18日 1 点赞 0 评论 474 浏览 评分:9.9
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,n=0; int a[100]={0}; while(ci…… 题解列表 2023年01月18日 0 点赞 0 评论 247 浏览 评分:0.0
绝对值排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; while(scanf("%d",&n)!=E…… 题解列表 2023年01月18日 0 点赞 0 评论 350 浏览 评分:0.0
数列(水题,测试数据有问题) 摘要:```c #include long long power(int k,int j){ long long ans=1; while(j){ ans*=k; j--; }…… 题解列表 2023年01月18日 0 点赞 0 评论 506 浏览 评分:9.9
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(void) { int num[10]; int i, t = 10, j; for (i = 0;…… 题解列表 2023年01月18日 0 点赞 0 评论 333 浏览 评分:0.0