Stay Hungry,Stay Foolish!

摘要: D - Grid and Magnet https://atcoder.jp/contests/abc351/tasks/abc351_d 思路 定义输入矩阵元素值 s matrix each cell can have three possible values: 0 - emtpy and no 阅读全文
posted @ 2024-04-28 21:57 lightsong 阅读(28) 评论(0) 推荐(0) 编辑
摘要: C - Merge the balls https://atcoder.jp/contests/abc351/tasks/abc351_c 思路 使用stack 记录 序列路径 对栈顶两个元素 尝试做缩减处理。 Code https://atcoder.jp/contests/abc351/subm 阅读全文
posted @ 2024-04-28 21:50 lightsong 阅读(24) 评论(0) 推荐(0) 编辑
摘要: mysqlalchemy audit extension https://sqlalchemy-declarative-extensions.readthedocs.io/en/stable/audit_tables.html from sqlalchemy import Column, types 阅读全文
posted @ 2024-04-28 13:54 lightsong 阅读(4) 评论(0) 推荐(0) 编辑
摘要: what https://zhuanlan.zhihu.com/p/137896709 Tutorial https://www.runoob.com/w3cnote/mysql-stored-procedure.html DEMO[create procedure + call from pyth 阅读全文
posted @ 2024-04-28 13:41 lightsong 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 记录指定参数变化 https://zhuanlan.zhihu.com/p/439273702 DELIMITER // CREATE TRIGGER log_sales_updates AFTER UPDATE ON sales FOR EACH ROW Insert into audit_log 阅读全文
posted @ 2024-04-28 13:07 lightsong 阅读(5) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel