题解列表

筛选

编写题解 2997: 梯形面积

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    double e;    e=150*2/15*(15……

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x1,y1,x2,y2,x3,y3,a……

2772: 苹果和虫子

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

编写题解 2764: 带余除法

摘要:解题思路:编写题解 2764: 带余除法注意事项:参考代码:x, y = map(eval,input().split())print(x//y,x%y,sep=" ")……

我也不知道啊,我也才大一

摘要:解题思路:就先找到第一个a[i]满足等于c1的,然后通过循环计算出后面有多少个c2.。并先存到sum中,然后写第二个循环,从第一个开始循环到第n-k个,并每次判断a[i+k-1]是否为c2,如果为c2……

2888: 图像模糊处理

摘要:``` #include using namespace std; const int N=1000; double a[N][N],b[N][N]; int c[N][N]; int m……

整数奇偶排序(c语言)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int swap(int* a,int* b){     int temp=*a;     *a=*b;     *b=temp;}i……

使用滑动窗口来解决

摘要:解题思路:注意事项:参考代码:n = int(input()) a = input().split() s = [] ans = 0  # 初始化收集的雪花数量 l, r = 0, 0  # ……

2919: 奖学金

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{   int xh,zf,a,b,c;} s[1000……