I prefer to write my solutions as functions, with input data passed in as parameters, because I use a different technique for the input code, so I want it separate from the solution code. Step 1: Paste in your preferred template, and write an outline in pseudocodeįor example, here is an outline I wrote for this problem ![]() Background: Github recently released github copilot, a code-generation tool.Įver since I got access to it, I've been relentlessly toying with it and testing its capabilities.ĭuring this, I found that copilot has the ability to not only synthesize original code, but also translate code from one form to another, such as from python to c++, from code using one naming convention to another, and even to and from pseudocode.īy taking this capability to the extreme, we can write the solution for a CP problem in pseudocode and translate it to working c++ by spamming enter and tab.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |