Stay Hungry,Stay Foolish!

摘要: D - Div Game https://atcoder.jp/contests/abc169/tasks/abc169_d 参考: https://blog.csdn.net/justidle/article/details/106474626 思路 计算n中所有质数的幂, Note: 此处不需要 阅读全文
posted @ 2022-10-26 20:42 lightsong 阅读(31) 评论(0) 推荐(0) 编辑
摘要: D - LRUD Instructions https://atcoder.jp/contests/abc273/tasks/abc273_d 分析 横坐标和纵坐标很大,不能采用二维数组形式,否则内存干爆, 目标对象移动,按照指令进行移动, 每次沿垂直或者水平方向, 那么这里对每一个墙, 都记录两点 阅读全文
posted @ 2022-10-26 08:51 lightsong 阅读(64) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel