版本比较
题解:CF2175B XOR Array
正文
增加 3 行删除 3 行
51 行未改动525354555656575859609 行未改动7071727374747576777879808081828351 行未改动 p[sum] = 1 ; continue ; } do { a[i] = mt() % (MAX - 1) + 1 ; a[i] = mt() % (MAX - 1) + 1 ; }while ( !check( a[i] , sum ) ) ; sum ^= a[i] ; p[sum] = 1 ; }9 行未改动
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int t ; cin >> t ; while (t --) { solve() ; }
return 0;}```