Stay Hungry,Stay Foolish!

摘要: Principles of Object Oriented Class Design https://staff.cs.utu.fi/~jounsmed/doos_06/material/DesignPrinciplesAndPatterns.pdf The Open Closed Principl 阅读全文
posted @ 2024-04-21 22:52 lightsong 阅读(1) 评论(0) 推荐(0) 编辑
摘要: F - Transpose https://atcoder.jp/contests/abc350/tasks/abc350_f 思路 开辟数组,记录左右括号配对的位置值, 例如: 串:a(s)l 位置: 01234 数组值为 配对数组: 03010 数组构成方法为 使用stack 记录左括号位置,遇 阅读全文
posted @ 2024-04-21 17:47 lightsong 阅读(4) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel