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:
“Having children can smooth the relationship, too. Mother and daughter are now equals. That is hard to imagine, even harder to accept, for among other things, it means realizing that your own mother felt this way, toounsure of herself, weak in the knees, terrified about what in the world to do with you. It means accepting that she was tired, inept, sometimes stupid; that she, too, sat in the dark at 2:00 A.M. with a child shrieking across the hall and no clue to the childs trouble.”
—Anna Quindlen (20th century)