编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 219 浏览 评分:0.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 评论 232 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-卡牌-两种思路(二分+暴力枚举) 摘要:解题思路:思路1:暴力枚举先把数组从小到大排序,然后先从小的开始凑套。思路2:二分枚举二分枚举可以凑成mid套注意事项:需要开longlong参考代码:暴力枚举:#include <bits/stdc…… 题解列表 2024年02月26日 0 点赞 0 评论 597 浏览 评分:6.0
7777777777777777777777777777 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 340 浏览 评分:0.0
不高兴的津津C解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[7],b[7],i,c[7],count=0,max,k; for(i=0;i<7;i…… 题解列表 2024年02月26日 0 点赞 0 评论 307 浏览 评分:0.0
整数去重C小白解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,j,is; scanf("%d",&n); int a[n+1],i; fo…… 题解列表 2024年02月26日 0 点赞 0 评论 312 浏览 评分:0.0
暴力求解最大公约数和最小公倍数 摘要:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner …… 题解列表 2024年02月26日 0 点赞 0 评论 401 浏览 评分:9.9
谁考了第k名C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,k,j,m; scanf("%d %d",&n,&k); int a[n+1],i…… 题解列表 2024年02月26日 1 点赞 0 评论 310 浏览 评分:0.0
Java有规律的数列求和 摘要:解题思路:假设第一项的分子为a,分母为b,则第一项为a/b,第二项为(a+b)/a,第三项为((a+b)+a)/(a+b)......总结一下:后一项的分子为前一项分子分母的和,后一项的分母为前一项的…… 题解列表 2024年02月26日 0 点赞 0 评论 153 浏览 评分:0.0
f-string编写题解 2750: 字符菱形 摘要:解题思路:注意事项:参考代码:a=input()for i in range(3): print(' '*(2-i), end='') print(f…… 题解列表 2024年02月26日 1 点赞 0 评论 320 浏览 评分:0.0