Pyhon perfomance tips

Правка en1, от kfx, 2015-11-29 14:57:52

Python is a great programming language: simple, expressive, compact.

In Codeforces, Python is often the best choice for Div 2 A and B exercises. For example, problem 600A - Extract Numbers is very easy to write in Python: first tokenize the string with the built-in split() function, then try to parse the integers with the built int(), then output the comma-separated strings of results with ",".join(lst).

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en9 Английский kfx 2015-11-30 12:01:15 1
en8 Английский kfx 2015-11-30 11:59:55 139 Tiny change: 'ons were: `g++` 4.8.4, Py' -> 'ons were: g++ 4.8.4, Py'
en7 Английский kfx 2015-11-30 11:55:15 1 Tiny change: 'bit unread at the mo' -> 'bit unready at the mo'
en6 Английский kfx 2015-11-30 11:54:50 7
en5 Английский kfx 2015-11-29 16:21:48 195
en4 Английский kfx 2015-11-29 15:47:09 155
en3 Английский kfx 2015-11-29 15:43:56 364 (published)
en2 Английский kfx 2015-11-29 15:33:56 3561
en1 Английский kfx 2015-11-29 14:57:52 433 Initial revision (saved to drafts)