两层for循环,组合类问题,暴力解决 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) …… 题解列表 2024年02月26日 0 点赞 0 评论 142 浏览 评分:0.0
蓝桥杯算法提高VIP-约数个数(用平方根函数加速一下) 摘要:参考代码: ```c #include #include int fun(int a) { int sum=0; for(int i=1;i…… 题解列表 2024年02月26日 0 点赞 0 评论 266 浏览 评分:0.0
利用等差数列的求和公式,保存好每轮的始末位置数字 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) …… 题解列表 2024年02月26日 0 点赞 0 评论 115 浏览 评分:0.0
编写题解 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年02月26日 0 点赞 0 评论 215 浏览 评分: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 评论 284 浏览 评分:0.0
题解 2818: 分离整数的各个数位 c++ 摘要:解题思路:自己想注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace std;…… 题解列表 2024年02月26日 0 点赞 0 评论 301 浏览 评分:0.0
编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 185 浏览 评分: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 评论 186 浏览 评分:0.0
7777777777777777777777777777 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 283 浏览 评分: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 评论 266 浏览 评分:0.0