04 2022 档案

摘要:原理图如上:主要思路是割裂,从前到后有层次的逆置,先逆置12,此时3456...都被割裂开了,然后将3连同逆置,一直这样下去。 头文件如下: 链表类的声明 #include<bits/stdc++.h> using namespace std; template<class T> struct No 阅读全文
posted @ 2022-04-18 10:53 Gustavo09 阅读(32) 评论(0) 推荐(0) 编辑
摘要:A. Red Versus Blue time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Team Red and Team Blue 阅读全文
posted @ 2022-04-18 10:40 Gustavo09 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示