Discussion: Should We Allow the Use of AI-Generated Templates on Codeforces?

Правка en1, от susenyang, 2025-08-27 12:58:53

Recently, I’ve been reorganizing my algorithm templates, which include some data structures and graph algorithms. Since my coding style tends to favor using std::vector instead of C-style arrays, I want my templates to be more encapsulated. I admit I’m not very familiar with this style of templates, so I thought of using AI to help me refine them. Below is a template for finding the LCA using Heavy-Light Decomposition:

LCA (Now)

Meanwhile, my previous templates looked like this:

LCA (Old)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en9 Английский susenyang 2025-08-29 15:18:37 482 Tiny change: 'ublime).\nAddition' -> 'ublime).\n\nAddition'
en8 Английский susenyang 2025-08-28 20:42:09 60
en7 Английский susenyang 2025-08-27 13:26:51 0 (published)
en6 Английский susenyang 2025-08-27 13:24:40 28
en5 Английский susenyang 2025-08-27 13:24:00 28
en4 Английский susenyang 2025-08-27 13:22:41 7
en3 Английский susenyang 2025-08-27 13:21:09 83 Tiny change: 's:q1)\n\n-- Allow po' -> 's:q1)\n\n- Allow po'
en2 Английский susenyang 2025-08-27 13:17:37 6841
en1 Английский susenyang 2025-08-27 12:58:53 2769 Initial revision (saved to drafts)