Skip to main content
deleted 23 characters in body
Source Link
Beefster
  • 10k
  • 35
  • 102
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistent, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • It should be possible (preferably obvious)trivial to determine whether the output indicates true or false without having to know what the input string is. Note that this does not mean the truthy or falsy outputs have to be constant, however the convention of "print a mountainous string if the string is mountainous and a non-mountainous string if not mountainous" is a banned loophole for obvious reasons.
  • On the other hand, a convention like "throws an exception for false and exits silently for true" would be fine, as well as "prints a single character for true and anything else for false"
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistent, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • It should be possible (preferably obvious) to determine whether the output indicates true or false without having to know what the input string is. Note that this does not mean the truthy or falsy outputs have to be constant, however the convention of "print a mountainous string if the string is mountainous and a non-mountainous string if not mountainous" is a banned loophole for obvious reasons.
  • On the other hand, a convention like "throws an exception for false and exits silently for true" would be fine, as well as "prints a single character for true and anything else for false"
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistent, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • It should be trivial to determine whether the output indicates true or false without having to know what the input string is. Note that this does not mean the truthy or falsy outputs have to be constant, however the convention of "print a mountainous string if the string is mountainous and a non-mountainous string if not mountainous" is a banned loophole for obvious reasons.
  • On the other hand, a convention like "throws an exception for false and exits silently for true" would be fine, as well as "prints a single character for true and anything else for false"
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
clarifications
Source Link
Beefster
  • 10k
  • 35
  • 102
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistent, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • It should be possible (preferably obvious) to determine whether the output indicates true or false without having to know what the input string is. Note that this does not mean the truthy or falsy outputs have to be constant, however the convention of "print a mountainous string if the string is mountainous and a non-mountainous string if not mountainous" is a banned loophole for obvious reasons.
  • On the other hand, a convention like "throws an exception for false and exits silently for true" would be fine, as well as "prints a single character for true and anything else for false"
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistent, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • It should be possible (preferably obvious) to determine whether the output indicates true or false without having to know what the input string is. Note that this does not mean the truthy or falsy outputs have to be constant, however the convention of "print a mountainous string if the string is mountainous and a non-mountainous string if not mountainous" is a banned loophole for obvious reasons.
  • On the other hand, a convention like "throws an exception for false and exits silently for true" would be fine, as well as "prints a single character for true and anything else for false"
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
consistent ==> unambiguous
Source Link
Beefster
  • 10k
  • 35
  • 102
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistentunambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, consistent, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
  • This is a decision problem, so any representation of true or false is valid output as long as it is correct, unambiguous, and the program terminates in a finite amount of time. Be sure to state your output convention with your solution.
  • This is code golf, so the shortest program wins.
  • Standard loopholes are banned.
Tweeted twitter.com/StackCodeGolf/status/960019466229862400
more test cases
Source Link
Beefster
  • 10k
  • 35
  • 102
Loading
edited tags
Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading
Source Link
Beefster
  • 10k
  • 35
  • 102
Loading