|
|
|
|
|
by zokrezyl
167 days ago
|
|
Thanks for the suggestion. Indeed, that would be the first approach. That is how I started. This is however not considering the state (am I inside a 'statement' or not) statement meaning string from first non-space till next EOL or EOF. Problem starts when you need to cover the "corner cases". Without the corner cases the algo is not algo. |
|
Obviously if your solutions gets closed to the memory bandwith limit, we will proudly mention it!