摘要: 这题教训主要是观察和思考 本来上来的想法就是链表加类似插排?但肉眼可见的tle.... #include<iostream> #include<vector> #include<algorithm> #include<math.h> #include<sstream> #include<string 阅读全文
posted @ 2024-03-21 22:23 WHUStar 阅读(18) 评论(0) 推荐(0)
摘要: 网站:https://codeforces.com/problemset/problem/1900/C 这里比较容易搞混的就是各个节点的关系,不要用2*n来表示左孩子!! 以及记得添加快读快写 ios::sync_with_stdio(false); cin.tie(nullptr); 加在int 阅读全文
posted @ 2024-03-21 21:15 WHUStar 阅读(12) 评论(0) 推荐(0)