how to speed up cin and cout code example
Example: how to speed up cin and cout
#include <bits/bstdc++.h>
using namespace std;
int main(){
// speeding up cin & cout
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
//rest of your code
return 0;
}