cara mempercepat cin dan 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;
}
Careful Capybara