题解列表
7777777777777777777777777777
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>……
蓝桥杯2022年第十三届决赛真题-卡牌-两种思路(二分+暴力枚举)
摘要:解题思路:思路1:暴力枚举先把数组从小到大排序,然后先从小的开始凑套。思路2:二分枚举二分枚举可以凑成mid套注意事项:需要开longlong参考代码:暴力枚举:#include <bits/stdc……
编写题解 1810: [编程基础]输入输出练习之精度控制3
摘要:解题思路:注意事项:参考代码:a,b,c,d=map(str,input().split())print(f'{a} {int(b):>4} {float(c):.2f} {float(d):……
编写题解 2819: 数字反转
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>……
题解 2818: 分离整数的各个数位 c++
摘要:解题思路:自己想注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace std;……
编写题解 2818: 分离整数的各个数位
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; ……
更小的数---暴力尝试,简单易看懂
摘要:解题思路:本题时间要求不那么严格,双重循环也能过注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
typede……