Skip to main content
Post Made Community Wiki by C. K. YoungMod
Source Link
Peter Taylor
  • 43.4k
  • 8
  • 57
  • 118

Hard-coding the output

Unless the question is an obvious exception (the primary exception being those tagged ), your program is expected to do work, not just print a pre-calculated result. If the question doesn't require input and so a solution which just prints the answer would seem to meet the spec, downvote the question rather than post a protest answer consisting of the literal output.