Hard Coding - Hard Coding in Competitions

Hard Coding in Competitions

In computing competitions such as the International Olympiad in Informatics, contestants are required to write a program with specific input-output pattern according to the requirement of the questions.

In cases where the possible number of inputs is finite, a contestant might consider using an approach that maps all possible inputs to their correct outputs. This program would be considered a hard-coded solution as opposed to an algorithmic one (even though the hard-coded program might be the output of an algorithmic program).

Read more about this topic:  Hard Coding

Famous quotes containing the word hard:

    “So you finally got wise to yourself, did you? Funny thing about you women. Most of you don’t get wise soon enough. You wait until you’re so old nobody want you.... You’re not so hard to look at. Give yourself a tumble, you’ll make the grade.”
    —Willis Goldbeck (1900–1979)