JAVA 重写Arrays.sort (超简单) 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Comparator;import java.util.Scanner;public c…… 题解列表 2024年04月08日 0 点赞 0 评论 316 浏览 评分:0.0
1219: 数列排序 摘要:解题思路:注意事项:参考代码:N = int(input()) for _ in range(N): arr = list(map(int, input().split())) …… 题解列表 2024年04月08日 0 点赞 1 评论 287 浏览 评分:0.0
计算鞍点,简单易懂 摘要:解题思路:注意事项:参考代码:num = [list(map(int,input().split())) for _ in range(5)] row,col = [],[] sum = floa…… 题解列表 2024年04月08日 0 点赞 0 评论 254 浏览 评分:0.0
1227: 日期排序 摘要:解题思路:注意事项:参考代码:arr = [] while True: try: arr.append(list(map(str, input().split('…… 题解列表 2024年04月08日 0 点赞 0 评论 336 浏览 评分:0.0
3037: 棋盘问题 c++ 标准dfs 摘要:解题思路:1.标记棋盘位置2.每个位置可以放棋子和不放棋子3.分别搜索4.填完一种可能ans+1注意事项:dfs中有两个量,要区分!!step表示在第几号棋盘格num表示填了几个棋子参考代码:#inc…… 题解列表 2024年04月08日 0 点赞 0 评论 315 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-外卖店优先级 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; priority_queue<int,vector<int>,greater…… 题解列表 2024年04月08日 0 点赞 0 评论 219 浏览 评分:0.0
明明的随机数 摘要:解题思路:先输入N,输入N个数,先排序再去重,最后输出,这种解题有点麻烦但是易懂注意事项:参考代码:#include<stdio.h> int main(){ int a[1000],n,i,j,t…… 题解列表 2024年04月08日 0 点赞 0 评论 186 浏览 评分:0.0
蓝桥杯算法提高-能量项链 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n, i, k, left, right; int arr[200], min; l…… 题解列表 2024年04月08日 0 点赞 0 评论 293 浏览 评分:0.0
题解 2701 取模C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> in…… 题解列表 2024年04月08日 3 点赞 0 评论 361 浏览 评分:0.0
矩阵转置,非常规的简单方法 摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split()) num = [list(map(int,input().split())) for _ in range(…… 题解列表 2024年04月08日 0 点赞 0 评论 242 浏览 评分:0.0