题解列表
1月13号 寻找平面上的极大点
摘要:```c
#include
int main()
{
int n; int x[100] = { 0 }; int y[100] = { 0 }; int count = 0; int ……
C++ 语言考试练习题_保留字母
摘要:#include<iostream>#include<algorithm>#include<iomanip>#include<cmath>using namespace std;int main(){……
c++解决矩阵的两对角线上的元素之和
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
//矩阵的行数
int n = 0;
ci……
[编程入门]成绩评定
摘要:解题思路:注意事项:参考代码:x=int(input())if x>=0 and x<60: print("E")elif x>=60 and x<70: print("D")elif x……
【Python题解】姜太公钓鱼
摘要:参考代码:n = int(input())
lis = list(map(int, input().split()))
count = 0
for i in lis:
if i <= ……
【Python题解】程序员爬楼梯
摘要:解题思路:简单的动态规划。参考代码:n = int(input())
dp = [1 for i in range(n+1)]
# 边界条件:dp[0]=dp[1]=dp[2]=1
fo……