Stephen King - The Long Walk was one of his earliest novels. The Long Walk was originally published under the Stephen King pseudonym of Richard Bachman in 1979.
The Long Walk - Stephen King book description:
On the first of May, one hundred teenage boys meet for an event known throughout the country as "The Long Walk".
If you break the rules, you get three warnings.
If you exceed your limit, what happens is absolutely terrifying.