利用等差数列的求和公式,保存好每轮的始末位置数字 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) …… 题解列表 2024年02月26日 0 点赞 0 评论 148 浏览 评分:0.0
编写题解 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年02月26日 0 点赞 0 评论 252 浏览 评分: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 评论 327 浏览 评分:0.0
题解 2818: 分离整数的各个数位 c++ 摘要:解题思路:自己想注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace std;…… 题解列表 2024年02月26日 0 点赞 0 评论 342 浏览 评分:0.0
编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 214 浏览 评分: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 评论 229 浏览 评分:0.0
7777777777777777777777777777 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 333 浏览 评分: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 评论 298 浏览 评分: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 评论 305 浏览 评分:0.0
谁考了第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 评论 306 浏览 评分:0.0