题解列表

筛选

7777777777777777777777777777

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,ans=0;    cin>……

不高兴的津津C解

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int a[7],b[7],i,c[7],count=0,max,k;    for(i=0;i<7;i……

整数去重C小白解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,j,is;    scanf("%d",&n);    int a[n+1],i;    fo……

Java有规律的数列求和

解题思路:假设第一项的分子为a,分母为b,则第一项为a/b,第二项为(a+b)/a,第三项为((a+b)+a)/(a+b)......总结一下:后一项的分子为前一项分子分母的和,后一项的分母为前一项的分子。注意事项:第一个数字初始时要设好2.0/1参考代码:importjava.util.Scanne

奇数单增序列C解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int N,p,t;    scanf("%d",&N);    int a[N+1],b[N+1],i,……

编写题解 2774: 计算三角形面积

解题思路:注意事项:参考代码:importmathx1,y1,x2,y2,x3,y3=map(float,input().split())a=math.sqrt(math.pow(x1-x2,2)+math.pow(y1-y2,2))b=math.sqrt(math.pow(x2-x3,