2571: 蓝桥杯2020年第十一届省赛真题-回文日期 摘要:**部分正确的话,可能要注意到的一些暗含条件:** 1.‘ABABBABA’型回文串中A与B不能相等 2.输出日期必须大于输入日期 ```cpp #include #include u…… 题解列表 2024年04月08日 0 点赞 0 评论 985 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路: 从n到2,倒序判断k是为质数,若为质数,再判断 n%k == 0 同时判断 n//k是否也为质数,若都满足,则n为两个质数的积注意事项:题目的测试用例有问题,测试用例验证的:只是一个质数与…… 题解列表 2024年04月08日 0 点赞 0 评论 664 浏览 评分:0.0
1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:a = list(map(int, input().split())) for i in range(len(a)): temp = i for j…… 题解列表 2024年04月08日 1 点赞 0 评论 954 浏览 评分:0.0
1169: 绝对值排序 摘要:解题思路:注意事项:参考代码:while True: try: n = list(map(int, input().split())) a = n[1:]…… 题解列表 2024年04月08日 0 点赞 0 评论 512 浏览 评分:0.0
JAVA 重写Arrays.sort (超简单) 解题思路:注意事项:参考代码:importjava.util.Arrays;importjava.util.Comparator;importjava.util.Scanner;publicclassc_2684{publicstaticvoidmain(String[]args){Scannersc 题解列表 2024年04月08日 0 点赞 0 评论 681 浏览 评分:0.0
1219: 数列排序 摘要:解题思路:注意事项:参考代码:N = int(input()) for _ in range(N): arr = list(map(int, input().split())) …… 题解列表 2024年04月08日 0 点赞 1 评论 552 浏览 评分:0.0
计算鞍点,简单易懂 摘要:解题思路:注意事项:参考代码:num = [list(map(int,input().split())) for _ in range(5)] row,col = [],[] sum = floa…… 题解列表 2024年04月08日 0 点赞 0 评论 654 浏览 评分:0.0
1227: 日期排序 摘要:解题思路:注意事项:参考代码:arr = [] while True: try: arr.append(list(map(str, input().split('…… 题解列表 2024年04月08日 0 点赞 0 评论 656 浏览 评分:0.0
3037: 棋盘问题 c++ 标准dfs 解题思路:1.标记棋盘位置2.每个位置可以放棋子和不放棋子3.分别搜索4.填完一种可能ans+1注意事项:dfs中有两个量,要区分!!step表示在第几号棋盘格num表示填了几个棋子参考代码:#includeusingnamespacestd;charc[100][100 题解列表 2024年04月08日 0 点赞 0 评论 668 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-外卖店优先级 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; priority_queue<int,vector<int>,greater…… 题解列表 2024年04月08日 0 点赞 0 评论 519 浏览 评分:0.0