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

Revision en1, by 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)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en9 English susenyang 2025-08-29 15:18:37 482 Tiny change: 'ublime).\nAddition' -> 'ublime).\n\nAddition'
en8 English susenyang 2025-08-28 20:42:09 60
en7 English susenyang 2025-08-27 13:26:51 0 (published)
en6 English susenyang 2025-08-27 13:24:40 28
en5 English susenyang 2025-08-27 13:24:00 28
en4 English susenyang 2025-08-27 13:22:41 7
en3 English susenyang 2025-08-27 13:21:09 83 Tiny change: 's:q1)\n\n-- Allow po' -> 's:q1)\n\n- Allow po'
en2 English susenyang 2025-08-27 13:17:37 6841
en1 English susenyang 2025-08-27 12:58:53 2769 Initial revision (saved to drafts)