Problem with python??

Правка en2, от duongtnhat, 2016-05-06 08:46:40

17754492 Here is my solution for 670D1 - Magic Powder - 1

I dont know why it catch time limit exceeded on test 148. And then, I try g = l + (r-l+1) / 2, it is accepted? (g is midle in binary search), Im a newbie in python, and sorry for my bad in English

Теги coding, python 2, #contest

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский duongtnhat 2016-05-06 08:46:40 504
en1 Английский duongtnhat 2016-05-06 08:43:42 742 Initial revision (published)