三个数字的排序(三目运算符) 摘要:解题思路:三目运算符注意事项:中间值比较绕,多仔细思考,但最大最小值这个三目运算符易懂参考代码:#include<stdio.h>int main(){ int a,b,c; scanf(…… 题解列表 2024年04月20日 0 点赞 0 评论 433 浏览 评分:9.9
1579: 蓝桥杯算法提高VIP-陶陶摘苹果2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e7;ll a[N];using namespace s…… 题解列表 2024年04月20日 0 点赞 0 评论 399 浏览 评分:0.0
输入绝对值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float f; scanf("%f",&f); printf("%.2f",f > 0 ? (f) : (-…… 题解列表 2024年04月20日 0 点赞 0 评论 435 浏览 评分:0.0
题解 1579: 蓝桥杯算法提高VIP-陶陶摘苹果2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ll…… 题解列表 2024年04月20日 0 点赞 0 评论 412 浏览 评分:0.0
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e7;ll a[N];using namespace s…… 题解列表 2024年04月20日 0 点赞 0 评论 482 浏览 评分:0.0
2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e7;ll a[N];using namespace s…… 题解列表 2024年04月20日 0 点赞 0 评论 354 浏览 评分:2.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:number = int(input()) sim = 2 total = sum([sim + i * 3 for i in range(number)]) pr…… 题解列表 2024年04月20日 0 点赞 0 评论 622 浏览 评分:0.0
python--study||O.o 摘要:参考代码:n = int(input()) res = [[0] * n for _ in range(n)] num = 1 #将需要构造的矩形分为左上三角形和右下三角形两个部分 #所有待写…… 题解列表 2024年04月20日 0 点赞 0 评论 409 浏览 评分:0.0
题解 2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ll…… 题解列表 2024年04月20日 0 点赞 0 评论 390 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:ci=0 for x in range(100,999): x=str(x) if int(x)==sum(((int(x[i])**3) for …… 题解列表 2024年04月20日 0 点赞 0 评论 686 浏览 评分:0.0