版本比较
题解:B4181 [厦门小学生 C++ 2024] 有趣子序列
正文
增加 2 行删除 2 行
18 行未改动1920212223232425262728282930313236 行未改动18 行未改动若上述任一条件满足,则存在“有趣子序列”;否则不存在。```cpp//byjiygzwyzshwsf#include<bits/stdc++.h>#define int long long #define int long longusing namespace std;typedef pair<int,int> PLL;int sum[100010];signed main(){ ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); int T; cin>>T; while(T--){ int n,q;36 行未改动