7777777777777777777777777777 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 413 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-卡牌-两种思路(二分+暴力枚举) 摘要:解题思路:思路1:暴力枚举先把数组从小到大排序,然后先从小的开始凑套。思路2:二分枚举二分枚举可以凑成mid套注意事项:需要开longlong参考代码:暴力枚举:#include <bits/stdc…… 题解列表 2024年02月26日 0 点赞 0 评论 716 浏览 评分:6.0
编写题解 1810: [编程基础]输入输出练习之精度控制3 摘要:解题思路:注意事项:参考代码:a,b,c,d=map(str,input().split())print(f'{a} {int(b):>4} {float(c):.2f} {float(d):…… 题解列表 2024年02月26日 0 点赞 0 评论 334 浏览 评分:0.0
编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 284 浏览 评分:0.0
题解 2818: 分离整数的各个数位 c++ 摘要:解题思路:自己想注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace std;…… 题解列表 2024年02月26日 0 点赞 0 评论 424 浏览 评分:0.0
猜价模拟(c语言) 摘要:参考代码: ```c #include int fun(int n,char *s) { int a=(1+n)/2; int min=0,max=n; for(…… 题解列表 2024年02月26日 0 点赞 0 评论 406 浏览 评分:0.0
编写题解 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年02月26日 0 点赞 0 评论 305 浏览 评分:0.0
翻转-简单易看懂 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; typedef long long ll; int main() { int…… 题解列表 2024年02月26日 1 点赞 0 评论 529 浏览 评分:9.9
更小的数---暴力尝试,简单易看懂 摘要:解题思路:本题时间要求不那么严格,双重循环也能过注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; typede…… 题解列表 2024年02月26日 0 点赞 0 评论 821 浏览 评分:10.0
2764: 带余除法 摘要:解题思路: C语言中 “/”是整除的运算符 “%”是取余的运算符注意事项: 注意代码的规范性参考代码:#include<stdio.h> int main() { int x,y; …… 题解列表 2024年02月26日 2 点赞 0 评论 1149 浏览 评分:9.9