版本比较
题解:P12733 磨合
正文
增加 2 行删除 2 行
123456716 行未改动242526272829```cpp#include<bits/stdc++.h>#define int long longusing namespace std;const int N=2e6+10;16 行未改动cin>>t;cout<<upper_bound(a+1,a+1+n,t)-a-1<<"\n";/* 二分最多能完成的任务 */}return 0;}```123456716 行未改动242526272829```cpp#include<bits/stdc++.h>#define int long longusing namespace std;const int N=2e6+10;16 行未改动cin>>t;cout<<upper_bound(a+1,a+1+n,t)-a-1<<"\n";/* 二分最多能完成的任务 */}return 0;}```