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 评论 227 浏览 评分:0.0
能量项链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 评论 467 浏览 评分:0.0
模拟计算器(水题) 摘要:```c #include int main(){ int a,b; char ch; scanf("%d%d %c",&a,&b,&ch); switch(ch){ …… 题解列表 2023年01月18日 0 点赞 0 评论 353 浏览 评分:0.0
蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct Complex{ int imag; int real…… 题解列表 2023年01月18日 0 点赞 0 评论 340 浏览 评分:0.0
1352: Matrix67的派对 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int n, k; int h…… 题解列表 2023年01月18日 0 点赞 0 评论 535 浏览 评分:0.0
每日打卡题目 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e7 + 5;int arry[N];int main…… 题解列表 2023年01月18日 0 点赞 0 评论 329 浏览 评分:0.0
日常打卡1.18 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e7 + 5;int arry[N];int reve…… 题解列表 2023年01月18日 0 点赞 0 评论 271 浏览 评分:0.0
最小绝对值 摘要:num = list(map(int, input().split())) # 对原来十个数建立列表储存num1 = list(map(abs, num)) # 对原列表数绝对值储存sum = 0…… 题解列表 2023年01月18日 0 点赞 0 评论 331 浏览 评分:0.0
C语言训练-排序问题<2>(水题) 摘要:```c #include #include int cmp(const void* a,const void* b){ return *(int *)b-*(int *)a; } …… 题解列表 2023年01月19日 0 点赞 0 评论 328 浏览 评分:0.0
绝对值排序(水题) 摘要:```c #include #include int main(){ int n,a[101],i,j,t; while(~scanf("%d",&n)&&n!=0){//这里的结尾…… 题解列表 2023年01月19日 0 点赞 0 评论 323 浏览 评分:0.0