Reduce Your Python Code Execution time !!!

Правка en1, от monu_dixit, 2022-09-19 06:26:11

Hello coders..

  1. Use sys module in your code for taking input.
  2. Don't convert input array into list while taking input like this ->> "(a = list(map(int,input().split(' '))))" , use "(input().split())" and for iterating this input use enumerators.
Теги python3, fast

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский monu_dixit 2022-09-19 06:26:55 30 Tiny change: 'g input.\n2. Don't' -> 'g input.\n input = sys.stdin.readline\n2. Don't'
en1 Английский monu_dixit 2022-09-19 06:26:11 302 Initial revision (published)