会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
PAT甲级拿不到满分不改名
首页
联系
订阅
管理
上一页
1
2
3
2022年6月13日
PAT甲级刷题日记(三)
摘要:
摆烂人生
阅读全文
posted @ 2022-06-13 10:51 Ryomk
阅读(25)
评论(0)
推荐(0)
2022年6月12日
PAT甲级刷题日记(二)
摘要:
Would you like a cup of coffee?
阅读全文
posted @ 2022-06-12 20:22 Ryomk
阅读(25)
评论(0)
推荐(0)
2022年6月8日
PAT甲级刷题日记(一)
摘要:
很无聊的ԅ(¯﹃¯ԅ) 总结了一些零碎的知识点……代码倒是贴了不少。想要看题解的慎入。
阅读全文
posted @ 2022-06-08 09:32 Ryomk
阅读(34)
评论(0)
推荐(0)
2022年6月3日
PAT Advanced Level 1162 Postfix Expression(25)
摘要: 题目链接🔗 需要注意的一点是:并不是单纯的后序遍历就可以了。由于是要打印后缀表达式,所以如果一个结点没有左孩子,那就要先打印该节点的值。 例如3+4这个表达式是中序表达式,写成后序表达式就是34+,这样写是因为+是一个二元运算符,3和4是它的两个操作数。但是对于-3,-就变成了一元操作符,因此需要
阅读全文
posted @ 2022-06-03 10:12 Ryomk
阅读(51)
评论(0)
推荐(0)
2022年4月4日
完全背包——洛谷 P1853 投资的最大效益
摘要: 原题链接 #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <ctype.h> #include <algorithm> #include
阅读全文
posted @ 2022-04-04 14:42 Ryomk
阅读(36)
评论(0)
推荐(0)
2022年2月7日
力扣-1405-最长快乐字符串
摘要: 题目链接 按照这个思路, 我自己的AC代码: class Solution { class node{ public: int x,y; node(int x,int y){ this->x=x; this->y=y; } friend bool operator<(const node&n1,co
阅读全文
posted @ 2022-02-07 13:59 Ryomk
阅读(33)
评论(0)
推荐(0)
2022年2月6日
蓝桥杯 1111: Cylinder
摘要: 题目链接 我的代码: #include <cstdio> #include <cmath> #define max(a,b) a>b?a:b double w,h; const double pi=3.141592653589793; double getVolume(){ double v=0.0
阅读全文
posted @ 2022-02-06 01:26 Ryomk
阅读(53)
评论(0)
推荐(0)
上一页
1
2
3
公告