2767: 计算多项式的值 摘要:解题思路: 先思考数学中的式子,拿到C语言中该如何解决 a,b,c,d,x 是我们自己输入的是给定的值 X的三次方就是3个X相乘 X*X*X 那就好解决咯参考代码:#include<s…… 题解列表 2024年02月26日 1 点赞 0 评论 1142 浏览 评分:10.0
编写题解 2772: 苹果和虫子-while循环 摘要:解题思路:注意事项:参考代码:n,x,y=map(int,input().split())while y<(n*x): if y%x==0: print(n-(y//x)) …… 题解列表 2024年02月26日 0 点赞 0 评论 545 浏览 评分:0.0
奇数单增序列C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,p,t; scanf("%d",&N); int a[N+1],b[N+1],i,…… 题解列表 2024年02月26日 0 点赞 0 评论 397 浏览 评分:0.0
f-string编写题解 2750: 字符菱形 摘要:解题思路:注意事项:参考代码:a=input()for i in range(3): print(' '*(2-i), end='') print(f…… 题解列表 2024年02月26日 1 点赞 0 评论 588 浏览 评分:0.0
Java有规律的数列求和 摘要:解题思路:假设第一项的分子为a,分母为b,则第一项为a/b,第二项为(a+b)/a,第三项为((a+b)+a)/(a+b)......总结一下:后一项的分子为前一项分子分母的和,后一项的分母为前一项的…… 题解列表 2024年02月26日 0 点赞 0 评论 462 浏览 评分: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日 2 点赞 0 评论 520 浏览 评分:10.0
暴力求解最大公约数和最小公倍数 摘要:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner …… 题解列表 2024年02月26日 0 点赞 0 评论 691 浏览 评分:9.9
整数去重C小白解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,j,is; scanf("%d",&n); int a[n+1],i; fo…… 题解列表 2024年02月26日 0 点赞 0 评论 528 浏览 评分: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 评论 491 浏览 评分:0.0
7777777777777777777777777777 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 1 点赞 0 评论 545 浏览 评分:0.0