Skip to main content
Commonmark migration
Source Link

#Task

Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrsssssssssssssssssssttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


##Winning Criterion

Winning Criterion

This is , so the shortest code in bytes wins!

#Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrsssssssssssssssssssttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


##Winning Criterion

This is , so the shortest code in bytes wins!

Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrsssssssssssssssssssttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


Winning Criterion

This is , so the shortest code in bytes wins!

Removed some unprintable characters from the previous edit.
Source Link
Dom Hastings
  • 24.4k
  • 4
  • 56
  • 93

#Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk‌​kkkkkkllllllllllllmm‌​mmmmmmmmmmmnnnnnnnnn‌​nnnnnooooooooooooooo‌​ppppppppppppppppqqqq‌​qqqqqqqqqqqqqrrrrrrr‌​rrrrrrrrrrrsssssssss‌​sssssssssstttttttttt‌​ttttttttttuuuuuuuuuu‌​uuuuuuuuuuuvvvvvvvvv‌​vvvvvvvvvvvvvwwwwwww‌​wwwwwwwwwwwwwwwwxxxx‌​xxxxxxxxxxxxxxxxxxxx‌​yyyyyyyyyyyyyyyyyyyy‌​yyyyyzzzzzzzzzzzzzzz‌​zzzzzzzzzzzabbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrsssssssssssssssssssttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


##Winning Criterion

This is , so the shortest code in bytes wins!

#Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk‌​kkkkkkllllllllllllmm‌​mmmmmmmmmmmnnnnnnnnn‌​nnnnnooooooooooooooo‌​ppppppppppppppppqqqq‌​qqqqqqqqqqqqqrrrrrrr‌​rrrrrrrrrrrsssssssss‌​sssssssssstttttttttt‌​ttttttttttuuuuuuuuuu‌​uuuuuuuuuuuvvvvvvvvv‌​vvvvvvvvvvvvvwwwwwww‌​wwwwwwwwwwwwwwwwxxxx‌​xxxxxxxxxxxxxxxxxxxx‌​yyyyyyyyyyyyyyyyyyyy‌​yyyyyzzzzzzzzzzzzzzz‌​zzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


##Winning Criterion

This is , so the shortest code in bytes wins!

#Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrsssssssssssssssssssttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


##Winning Criterion

This is , so the shortest code in bytes wins!

added 219 characters in body
Source Link
Arjun
  • 5.1k
  • 2
  • 24
  • 56

Post the shortest code possible that will#Task

Given a String as input, your task is to output 42 onlyonly if the input isString happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk‌​kkkkkkllllllllllllmm‌​mmmmmmmmmmmnnnnnnnnn‌​nnnnnooooooooooooooo‌​ppppppppppppppppqqqq‌​qqqqqqqqqqqqqrrrrrrr‌​rrrrrrrrrrrsssssssss‌​sssssssssstttttttttt‌​ttttttttttuuuuuuuuuu‌​uuuuuuuuuuuvvvvvvvvv‌​vvvvvvvvvvvvvwwwwwww‌​wwwwwwwwwwwwwwwwxxxx‌​xxxxxxxxxxxxxxxxxxxx‌​yyyyyyyyyyyyyyyyyyyy‌​yyyyyzzzzzzzzzzzzzzz‌​zzzzzzzzzzz

abbcccddddeeeee ... zzzzzzzzzzzzzzzzzzzzzzzzzz It may output any other value, that is:produce an error or not output at all, if the input does not equal the aforementioned String.

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk‌​kkkkkkllllllllllllmm‌​mmmmmmmmmmmnnnnnnnnn‌​nnnnnooooooooooooooo‌​ppppppppppppppppqqqq‌​qqqqqqqqqqqqqrrrrrrr‌​rrrrrrrrrrrsssssssss‌​sssssssssstttttttttt‌​ttttttttttuuuuuuuuuu‌​uuuuuuuuuuuvvvvvvvvv‌​vvvvvvvvvvvvvwwwwwww‌​wwwwwwwwwwwwwwwwxxxx‌​xxxxxxxxxxxxxxxxxxxx‌​yyyyyyyyyyyyyyyyyyyy‌​yyyyyzzzzzzzzzzzzzzz‌​zzzzzzzzzzz


##Winning Criterion

This is , so the shortest code in bytes wins!

Post the shortest code possible that will output 42 only if the input is:

abbcccddddeeeee ... zzzzzzzzzzzzzzzzzzzzzzzzzz, that is:

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk‌​kkkkkkllllllllllllmm‌​mmmmmmmmmmmnnnnnnnnn‌​nnnnnooooooooooooooo‌​ppppppppppppppppqqqq‌​qqqqqqqqqqqqqrrrrrrr‌​rrrrrrrrrrrsssssssss‌​sssssssssstttttttttt‌​ttttttttttuuuuuuuuuu‌​uuuuuuuuuuuvvvvvvvvv‌​vvvvvvvvvvvvvwwwwwww‌​wwwwwwwwwwwwwwwwxxxx‌​xxxxxxxxxxxxxxxxxxxx‌​yyyyyyyyyyyyyyyyyyyy‌​yyyyyzzzzzzzzzzzzzzz‌​zzzzzzzzzzz

#Task

Given a String as input, your task is to output 42 only if the input String happens to be exactly the following :

abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk‌​kkkkkkllllllllllllmm‌​mmmmmmmmmmmnnnnnnnnn‌​nnnnnooooooooooooooo‌​ppppppppppppppppqqqq‌​qqqqqqqqqqqqqrrrrrrr‌​rrrrrrrrrrrsssssssss‌​sssssssssstttttttttt‌​ttttttttttuuuuuuuuuu‌​uuuuuuuuuuuvvvvvvvvv‌​vvvvvvvvvvvvvwwwwwww‌​wwwwwwwwwwwwwwwwxxxx‌​xxxxxxxxxxxxxxxxxxxx‌​yyyyyyyyyyyyyyyyyyyy‌​yyyyyzzzzzzzzzzzzzzz‌​zzzzzzzzzzz

It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.


##Winning Criterion

This is , so the shortest code in bytes wins!

Improved Clarity
Source Link
NoOneIsHere
  • 2.2k
  • 1
  • 21
  • 46
Loading
This question has nothing to do with regex
Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348
Loading
edited tags
Link
user16402
user16402
Loading
edited tags
Link
Loading
added 20 characters in body
Source Link
Loading
Tweeted twitter.com/#!/StackCodeGolf/status/45723899027140608
Source Link
Loading