题解 2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ll…… 题解列表 2024年04月20日 0 点赞 0 评论 182 浏览 评分:0.0
python--study||O.o 摘要:参考代码:n = int(input()) res = [[0] * n for _ in range(n)] num = 1 #将需要构造的矩形分为左上三角形和右下三角形两个部分 #所有待写…… 题解列表 2024年04月20日 0 点赞 0 评论 246 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:number = int(input()) sim = 2 total = sum([sim + i * 3 for i in range(number)]) pr…… 题解列表 2024年04月20日 0 点赞 0 评论 413 浏览 评分: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 评论 301 浏览 评分: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 评论 190 浏览 评分:0.0
输入绝对值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float f; scanf("%f",&f); printf("%.2f",f > 0 ? (f) : (-…… 题解列表 2024年04月20日 0 点赞 0 评论 214 浏览 评分:0.0
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 评论 188 浏览 评分:0.0
数学问题,掌握最大公因数的性质即可 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; /** * * 最大公约数的一个关键性质是: * * 两个数的最大公约数与它们的差值的最大公约…… 题解列表 2024年04月20日 1 点赞 0 评论 378 浏览 评分:0.0
题解 2877: 同行列对角线的格子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,c; scanf("%d%d%d",&n,&i,&j); for(int …… 题解列表 2024年04月20日 0 点赞 0 评论 247 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项: csum+=(double) 1 /i 这部分是关键 一定要加double 否则它会向下取整参考代码:import java.util.*;pu…… 题解列表 2024年04月20日 0 点赞 0 评论 254 浏览 评分:0.0