1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ unsigned sum = 1; int N; scanf("%d", &N); for (int …… 题解列表 2023年12月15日 0 点赞 0 评论 102 浏览 评分:0.0
java解牛顿迭代法求平方根 摘要:解题思路:迭代参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) { S…… 题解列表 2023年12月16日 0 点赞 0 评论 176 浏览 评分:0.0
题解 1952: 求长方形周长和面积 摘要:解题思路: 注意事项: 注意换行符参考代码:#include<stdio.h>int main(){//定义边长,宽,周长,面积的变量(正整数int) int length,width,AAs…… 题解列表 2023年12月16日 0 点赞 0 评论 200 浏览 评分:0.0
数组逆序重放 摘要:解题思路:用两个数组注意事项:首项的下标加尾项的下标等于n+1参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n],…… 题解列表 2023年12月16日 0 点赞 0 评论 779 浏览 评分:0.0
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int xh,zf,a,b,c;} s[1000…… 题解列表 2023年12月16日 0 点赞 0 评论 281 浏览 评分:0.0
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 评论 196 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:编写题解 2764: 带余除法注意事项:参考代码:x, y = map(eval,input().split())print(x//y,x%y,sep=" ")…… 题解列表 2023年12月16日 0 点赞 0 评论 265 浏览 评分:0.0
1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >> a>…… 题解列表 2023年12月16日 0 点赞 0 评论 104 浏览 评分:0.0
单词查找树(python) 摘要:解题思路:注意事项:参考代码:class TrieNode: def __init__(self): self.children = {} self.is_end_o…… 题解列表 2023年12月17日 0 点赞 0 评论 194 浏览 评分:0.0
求后序遍历(python) 摘要:解题思路:注意事项:参考代码:def build_tree(preorder, inorder): if not preorder or not inorder: return N…… 题解列表 2023年12月17日 0 点赞 0 评论 181 浏览 评分:0.0