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:

    Mary: Oh, Dan, when is this trouble going to end? This killing and more killing.
    Dan: It’s hard on you women, I know. You’re braver than we are.
    Dudley Nichols (1895–1960)