题解列表

筛选

正常血压(简单明晰)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct record{ int a; int b;}press[100];//血压int main(){     int n;  ……

爬树的甲壳虫——Java

摘要:# 思路 https://blog.csdn.net/qq_44579321/article/details/129465652 (但是它的推导式在最后有点问题) https://www……

秒懂的python代码

摘要:解题思路:利用for循环注意事项:for循环的范围“左闭右开”,应当为(1,n+1)参考代码:n=int(input())sum=1for i in range(1,n+1):    sum=sum*……
优质题解

[北邮大作业]俄罗斯方块OJ版题解思路

摘要:题目很难,题目也很简单。这边是用cpp写的,参考基于Pierre Dellacherie算法(一下简称PD)这边图形就根据数组定义建系棋盘长这样:1. ……

Lucky Word (C++代码)

摘要:解题思路:统计并判断(max-min)差是否为质数质素依旧打表注意事项:字母不存在的不算hhh参考代码:#include <stdio.h> int main() {     int ch; ……

计算质因子 (C++代码)

摘要:参考代码:#include <iostream>#include <stdio.h>using namespace std;bool mark[1000];int prime[1000];int pr……