摘要: 1.红石难题(将红石线路拉成一条一维的线,再用总线路除一个红石源可满足的能量需求范围,不够进一即可) #include<bits/stdc++.h> #define int long long using namespace std; int a[1000000],b[10000000]; sign 阅读全文
posted @ 2024-03-10 16:12 伊芙加登 阅读(32) 评论(0) 推荐(0)
摘要: 1.B孵化小鸡(二进制枚举,列举每种情况,取符合条件的最便宜的方案) #include <bits/stdc++.h> using namespace std; #define PII pair<int,int> int a[1000000],l1[1000000],r1[1000000],k[10 阅读全文
posted @ 2024-03-10 14:18 伊芙加登 阅读(27) 评论(0) 推荐(0)