摘要: sol: 手玩之后发现,一个00(11)可以使答案+1 一个000(111)可以使答案+2 两个00(11)可以使答案+2 三个00(11)还是+2 #include <bits/stdc++.h> using namespace std; typedef int ll; inline ll rea 阅读全文
posted @ 2021-10-10 21:50 yccdu 阅读(26) 评论(0) 推荐(0) 编辑
摘要: sol:很显然答案就是两个坐标之间的线段数量 O(n)判断一下就行了 #include <bits/stdc++.h> using namespace std; typedef int ll; inline ll read() { ll s=0; bool f=0; char ch=' '; whi 阅读全文
posted @ 2021-10-10 00:21 yccdu 阅读(21) 评论(0) 推荐(0) 编辑