题解列表

筛选

编写题解 1100: 采药

摘要:解题思路:注意事项:参考代码:T, M = map(int, input().split())grass_time = []grass_value = []for _ in range(M):    ……

蓝桥杯基础练习VIP-矩形面积交

摘要:解题思路:思路参照了python组第一个”D“大佬的题解,同样的思路把代码简化了一下,更方便理解一点参考代码:x1,y1,x2,y2=list(map(float,input().split()))x……

省赛真题-纸张尺寸o_O

摘要:解题思路:注意事项:参考代码:size=input()a=int(size[1])length=1189width=841for i in range(a):    length=length//2 ……

统计连通数数量做法

摘要:解题思路:需要修的最少路径数量是连通数量减一注意事项:参考代码:#include<iostream>  #include<cstring> using namespace std; const ……

编写题解 2880: 计算鞍点

摘要:解题思路:找到每一行的最大值后,立即判断是不是所在列的最小值。注意事项:参考代码:#include <stdio.h>int main(){ int arr[5][5] = { 0 }; for (i……

买房子C语言解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double M;    int i,N,K,is=0;    scanf("%d %d",&N,&K);……