只用if_else不用循环,注释详细
摘要:解题思路:用总刷题数除以一周的刷题总数,从而将天数问题转化为一个周期内的分段问题注意事项:注意分段做到不重不漏参考代码:#include<bits/stdc++.h>
#define ll long……
图像旋转,非常规的简单方法
摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split())
num = [list(map(int,input().split())) for _ in range(……
蓝桥杯2020年第十一届国赛真题-答疑 C++ 排序 贪心
摘要:解题思路:在前面都选择花费总时间最少的 最后的答案一定是花费时间最少的注意事项:记得开 long long参考代码:#include<bits/stdc++.h>#define int long lo……
矩阵转置,非常规的简单方法
摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split())
num = [list(map(int,input().split())) for _ in range(……
题解 2701 取模C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
in……
2835: 计算书费
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;double a[10]= { 28.9,32.7,45.6,78,35,86.2……
蓝桥杯算法提高-能量项链
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n, i, k, left, right; int arr[200], min; l……
2836: 数组逆序重放
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[100000];//不限制范围int main(){ ……