It can the most optimal and easiest way if you just want to solve your problem without spending several years learning how to program.
1) Pick one of these at random. 2) Assign a person who knows nothing about programming to write it in C. 3) See how long it takes.
Why not python or javascript?