Actually i came across a competitive question where i need to input into a large array,but i am getting TLE error so is there is any other way than the traditional ways to reduce the TLE.
i have tried some of the tips but it doesn't work.
#include<bits/stdc++.h> //rather than other files
ios_base :: sync_with_stdio(false);
cin.tie(NULL)
the time decreases but not so much.
So is there is any other method than these to reduce the input time of inputting integers to array
Aucun commentaire:
Enregistrer un commentaire