09 2022 档案
摘要:暴力可过大部分,最后的超时是二分 https://pintia.cn/problem-sets/994805342720868352/problems/994805507225665536 没A,为了节省时间先做别的
阅读全文
摘要:1005: 简单模拟,数组打表 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define int long long 4 #define IOS ios_base::sync_with_stdio(0);cin.tie(0);cout.ti
阅读全文
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805523835109376 朴素dijkstra+pre记录前驱+dfs输出前驱 朴素dijkstra,升级版是天梯赛l2-1紧急救援 1 #include<bits/st
阅读全文
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805521431773184 普通静态数遍历 1 #include<bits/stdc++.h>//dfs 2 using namespace std; 3 #define
阅读全文
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805489282433024 https://pintia.cn/problem-sets/994805342720868352/problems/9948053969532
阅读全文
摘要:题目链接:https://pintia.cn/problem-sets/994805342720868352/problems/1478635919459287040 峰会是国家元首或政府首脑的会议。 为峰会安排休息区可不是一件简单的工作。 一共有 N 个首脑参加峰会,编号 1∼N。 这些首脑之间存
阅读全文
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805456881434624(待解决) https://pintia.cn/problem-sets/994805342720868352/problems/99480539
阅读全文
摘要:题目链接:https://pintia.cn/problem-sets/994805342720868352/problems/1478635524918910976 还有7分钟上体育,抓紧写完题解,不罗嗦; 题目大意:给定两个链表,如果满足cnt1(链表1的长度)>=2*cnt2;就将短的哪一方按
阅读全文