what is the benefit of struct Solver?

Правка en1, от e3e, 2024-08-04 11:10:13

I see some very good coders such as snuke, Petr do this. struct Solver and writing their actual solution in the Solver's method void solve(). Is there any practical benefit of doing this?

Теги coding style, c++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский e3e 2024-08-04 11:10:13 224 Initial revision (published)