旧物有情 #1557: 聪明的美食家 最长上升子序列模型 贪心两种解法 摘要:[TOC] # 解法一:最长上升子序列DP 推荐观看下面这个视频,也是我的dp入门老师❤ 【动态规划之子序列问题,元素不连续!| LeetCode:300.最长递增子序列】https://w…… 题解列表 2024年10月17日 2 点赞 0 评论 312 浏览 评分:10.0
大数Python写 摘要:参考代码:while True: n=int(input()) if n==0: break else: if n%17==0: 题解列表 2024年10月17日 0 点赞 0 评论 434 浏览 评分:0.0
旧物有情 # 1124: C语言训练-大、小写问题 这道题要考虑一个细节 摘要:``` #include using namespace std; int main(){ string s; //注意,这道题88分的同学都是因为没有考虑到读入数据可能会带…… 题解列表 2024年10月17日 4 点赞 0 评论 271 浏览 评分:0.0
旧物有情 # 陶陶摘苹果 阅读理解,读懂了就很简单! 摘要:``` #include using namespace std; const int N =15; int a[N]; int main(){ //读取10个苹果到达地面的…… 题解列表 2024年10月17日 2 点赞 0 评论 474 浏览 评分:9.9
旧物有情 # 不高兴的津津 模拟题如何写的又快又准?答案是多练 摘要:``` #include using namespace std; int main(){ //认为最开始是开心的 bool happy=true; //记录学习…… 题解列表 2024年10月17日 0 点赞 0 评论 246 浏览 评分:9.9
旧物有情 # 回文判断 两种方法 摘要:[TOC] # 方法一:reverse翻转 ``` #include #include #include #include #include using namespace s…… 题解列表 2024年10月17日 0 点赞 0 评论 268 浏览 评分:0.0
旧物有情 # 字符串正反连接 超简单思路 摘要:``` #include #include #include using namespace std; int n,jin,yin,tong; int main(){ ch…… 题解列表 2024年10月17日 0 点赞 0 评论 241 浏览 评分:0.0
旧物有情 # 奥运奖牌计数 一看就懂 摘要:``` #include #include using namespace std; int n,jin,yin,tong; int main(){ cin >> n; …… 题解列表 2024年10月17日 0 点赞 0 评论 149 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct student { int num; // 学号 char name[10]; //…… 题解列表 2024年10月17日 1 点赞 0 评论 305 浏览 评分:8.0
容易理解如何解决Sn求和问题 摘要:解题思路:从第二项开始后一项为前一项的10倍后加上前一项注意事项:需要包含#include<math.h>函数参考代码:#include<stdio.h>#include<math.h>int mai…… 题解列表 2024年10月16日 0 点赞 0 评论 230 浏览 评分:9.9