2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x1,y1,x2,y2,x3,y3,a…… 题解列表 2023年12月16日 0 点赞 0 评论 413 浏览 评分:9.9
2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>>x…… 题解列表 2023年12月16日 0 点赞 0 评论 348 浏览 评分:9.9
编写题解 2764: 带余除法 摘要:解题思路:编写题解 2764: 带余除法注意事项:参考代码:x, y = map(eval,input().split())print(x//y,x%y,sep=" ")…… 题解列表 2023年12月16日 0 点赞 0 评论 541 浏览 评分:0.0
我也不知道啊,我也才大一 摘要:解题思路:就先找到第一个a[i]满足等于c1的,然后通过循环计算出后面有多少个c2.。并先存到sum中,然后写第二个循环,从第一个开始循环到第n-k个,并每次判断a[i+k-1]是否为c2,如果为c2…… 题解列表 2023年12月16日 0 点赞 2 评论 1023 浏览 评分:6.8
2888: 图像模糊处理 摘要:``` #include using namespace std; const int N=1000; double a[N][N],b[N][N]; int c[N][N]; int m…… 题解列表 2023年12月16日 0 点赞 0 评论 409 浏览 评分:0.0
整数奇偶排序(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int swap(int* a,int* b){ int temp=*a; *a=*b; *b=temp;}i…… 题解列表 2023年12月16日 0 点赞 0 评论 589 浏览 评分:9.9
使用滑动窗口来解决 摘要:解题思路:注意事项:参考代码:n = int(input()) a = input().split() s = [] ans = 0 # 初始化收集的雪花数量 l, r = 0, 0 # …… 题解列表 2023年12月16日 0 点赞 0 评论 497 浏览 评分:9.9
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int xh,zf,a,b,c;} s[1000…… 题解列表 2023年12月16日 0 点赞 0 评论 548 浏览 评分:0.0
数组逆序重放 摘要:解题思路:用两个数组注意事项:首项的下标加尾项的下标等于n+1参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n],…… 题解列表 2023年12月16日 0 点赞 0 评论 1790 浏览 评分:0.0
优质题解 编写题解 1115: DNA--C语言使用二维数组输出图案详细讲解 摘要:`解题思路:` - 使用嵌套循环遍历每个测试用例。 - 在每个测试用例中,使用两层循环分别控制图案的行和列。 - 判断当前位置是否应该打印 `X` 或空格,根据条件确定输出。 `示…… 题解列表 2023年12月16日 165 点赞 0 评论 7029 浏览 评分:9.0