introvert_boi's blog

By introvert_boi, history, 14 months ago, In English

include<bits/stdc++.h>

using namespace std;

define ll long long

define pb push_back

define loop(n) for(long long i=0;i<n;i++)

define rloop(n) for(long long i=n-1;i>=0;i--)

////////////////////////////////////////////

//////////////////////////////////////////////

signed main(){

ios::sync_with_stdio(false);
  cin.tie(nullptr);

  #ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
    freopen("output2.txt","w",stdout);
   #endif

int test_cases; cin>>test_cases; while(test_cases--){

ll n; cin>>n;

ll a[n]; loop(n)cin >>a[i];

string s; cin >>s;

vectorx(n+1,0); int b=0,c=0; loop(n){ x[i+1]=x[i]^a[i]; if(s[i]=='0')b^=a[i]; else c^=a[i]; } //b for zero //c for one

ll q; cin >>q; while(q--){ ll t; cin >>t; ll pp,qq; if(t == 1){ cin >>pp >> qq; c=(c^x[qq]^x[pp-1]); b=(b^x[qq]^x[pp-1]);

}else {
    cin >> pp;
    if(pp==0)cout<<b;
    else cout<<c;
    cout<<" ";

}

} cout<<"\n";

} return 0; }

This code was leaked in the telegram.

Please Codeforces Head look into the matter and check the submission of the participants.

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By introvert_boi, history, 22 months ago, In English

Hi can anyone tell how can we conduct codeforces round. What is procedure This is my alt account I have option of propose contest in my main id

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By introvert_boi, history, 2 years ago, In English

The one and only Biggest Cheater of IIT BHU is 1_2_3_4_5_9 ------ He write the code in python to avoid plag. This Cheater has 3-4 accounts.. The main thing to notice is that all the accounts are starting from numbers: https://mirror.codeforces.com/profile/1_2_3_4_5_9 You can check his all accounts that will be listed in his college list. Salute to this cheater. He is all time best in cheating. Mr.Abhipsita Das

//Bye

Full text and comments »

  • Vote: I like it
  • -22
  • Vote: I do not like it

By introvert_boi, history, 2 years ago, In English

Hi RainBoy Bro!!!!!!!!!

AGain you are doing same thing bro

Attempting from the last problem...?????????WHY???????????????????? ?? What's the problem with you bro????????/Anything wrong tell m?????????????You will become RED if you attempt from first.!!!!!!!!!!!!!!

Full text and comments »

  • Vote: I like it
  • -36
  • Vote: I do not like it