版本比较
CSP GD 迷惑行为大赏——补充
正文
增加 13 行删除 13 行
22 行未改动232425262728272829303132109 行未改动全部展开14214314414514614614714814915028 行未改动1791801811821831831841851861861871881891901911921931941941951961971981992002012002012022032042053 行未改动2092102112122132132142152162176 行未改动22422522622722822822923023123242 行未改动27527627727827928027928028128228328435 行未改动32032132232332432432532632732827 行未改动22 行未改动//省略正常代码部分/*DP[i,j,k]=max(Dp[i-1,j-1,k]+a[i],Dp[i-1,j,k-1]+b[i],Dp[i-1,j,k]+c[i])DP[i,j]=max(DP[i-1,j-1]+a[i],)3 4 344 2 13 2 45 3 43 5 1109 行未改动全部展开:::info[三周目(GD-J00334)]
```cpp//xor.cpp//2025 CSP-J t3 xor.cpp by ACGO - Dark_eve //2025 CSP-J t3 xor.cpp by ACGO - Dark_eve#include<bits/stdc++.h>using namespace std;using ll = long long;
28 行未改动 return ret;}
int main(){
freopen("xor.in","r",stdin); freopen("xor.out","w",stdout);
cin >> n >> k; input = str(n) + " " + str(k) + " "; for(ll i = 0;i < n;i++){ cin >> tmp; input += str(tmp); if(i != (n - 1)) input += " "; }
auto ans = find(inputList,inputList + 7,input); if(ans == inputList + 7){ return 0; } int local = ans - inputList; cout << outputList[local];
cout << outputList[local]; return 0;}```:::3 行未改动using namespace std;typedef long long ll;const int N = 5e5 + 10;ll n, k, ans, a[N], s[N];vector<pair<int, int> > g;//存可求出答案的坐标 vector<pair<int, int> > g;//存可求出答案的坐标bool cmp(pair<int, int> a, pair<int, int> b){ return a.first < b.first;}int main(){6 行未改动 } for(int i = 0; i < n; i++){ for(int l = 1; l <= n - i; l++){ int r = l + i; if(s[r] ^ s[l - 1] == k){ if(s[r] ^ s[l - 1] == k){ g.push_back({l, r}); } } }42 行未改动 while(1){ cnt++; if(cnt=1145414154) break; } cout<<<1; while(1); cout<<<1; while(1); explode fuck;}```:::35 行未改动 for (int i=1;i<=n*m;cin>>a[i++]); int t=a[1];for (int i=1;i<=n*m;cin>>a[i++]); int t=a[1]; sort(signed main(){for (int i=1;i<=n*m;cin>>a[i++]); int t=a[1];rwrwwr839ru int t=a[1];rwrwwr839ru sort(signed main(){for (int i=1;i<=n*m;cin>>a[i++]); int t=a[1]; sort(signed main(){for (int i=1;i<=n*m;cin>>a[i++]); int t=a[1];27 行未改动