From experience from online judges I believe making them local variable by putting them in main function makes the thing faster. Also, calling the global len function in lines 47 and 48 makes the thing slower. Calculated it beforehand. Total time is saved in a good amount.
From experience from online judges I believe making them local variable by putting them in main function makes the thing faster. Also, calling the global len function in lines 47 and 48 makes the thing slower. Calculated it beforehand. Total time is saved in a good amount.
gskielian/SimpleCV,jlegendary/SimpleCV,jyt109/SimpleCV,hayd/SimpleCV,sightmachine/SimpleCV,nils-werner/SimpleCV,jayrambhia/SimpleCV2,beni55/SimpleCV,gskielian/SimpleCV,jyt109/SimpleCV,hurdlea/SimpleCV,nils-werner/SimpleCV,hayd/SimpleCV,gskielian/SimpleCV,nils-werner/SimpleCV,hurdlea/SimpleCV,sightmachine/SimpleCV,gskielian/SimpleCV,jayrambhia/SimpleCV2,jlegendary/SimpleCV,sightmachine/SimpleCV,hurdlea/SimpleCV,onaclovtech/SimpleCV,hurdlea/SimpleCV,beni55/SimpleCV,sightmachine/SimpleCV2,tpltnt/SimpleCV,jyt109/SimpleCV,onaclovtech/SimpleCV,nils-werner/SimpleCV,jayrambhia/SimpleCV2,sightmachine/SimpleCV2,beni55/SimpleCV,hayd/SimpleCV,gskielian/SimpleCV,onaclovtech/SimpleCV,sightmachine/SimpleCV,jyt109/SimpleCV,tpltnt/SimpleCV,hayd/SimpleCV,beni55/SimpleCV,sightmachine/SimpleCV2,beni55/SimpleCV,nils-werner/SimpleCV,tpltnt/SimpleCV,hurdlea/SimpleCV,onaclovtech/SimpleCV,onaclovtech/SimpleCV,jlegendary/SimpleCV,tpltnt/SimpleCV,sightmachine/SimpleCV,tpltnt/SimpleCV,jayrambhia/SimpleCV2,sightmachine/SimpleCV2,hayd/SimpleCV,jyt109/SimpleCV,jlegendary/SimpleCV,jlegendary/SimpleCV