mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-10-17 21:42:25 +00:00
refactor(P8818.cpp): 移除未使用的头文件和变量以简化代码
删除未使用的<functional>和<stdexcept>头文件 移除未使用的bupmin和bdownmax变量
This commit is contained in:
parent
b8cf43f694
commit
cebbfa9891
@ -1,10 +1,8 @@
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <istream>
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
using ll = int64_t;
|
||||
@ -116,9 +114,7 @@ int main(){
|
||||
aupmin = A.getupmin(l1, r1),
|
||||
adownmax = A.getdownmax(l1, r1);
|
||||
ll bmax = B.getvmax(l2, r2),
|
||||
bmin = B.getvmin(l2, r2),
|
||||
bupmin = B.getupmin(l2, r2),
|
||||
bdownmax = B.getdownmax(l2, r2);
|
||||
bmin = B.getvmin(l2, r2);
|
||||
ll aop,bop;
|
||||
if(amin>0){
|
||||
aop=1;
|
||||
|
Loading…
Reference in New Issue
Block a user