Skip to main content
Commonmark migration
Source Link

Java 8, 47 bytes, Cracked

p->{for(;p==null||p.isEmpty()||!p.isEmpty(););}

#Java 8, 47 bytes, Cracked p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} ThisThis is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

#Java 8, 47 bytes, Cracked p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

Java 8, 47 bytes, Cracked

p->{for(;p==null||p.isEmpty()||!p.isEmpty(););}

This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

added 99 characters in body
Source Link
Socratic Phoenix
  • 1.7k
  • 1
  • 11
  • 26

#Java 8, 47 bytes, Cracked p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

#Java 8, 47 bytes p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

#Java 8, 47 bytes, Cracked p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

added 95 characters in body
Source Link
Socratic Phoenix
  • 1.7k
  • 1
  • 11
  • 26

#Java 8, 47 bytes p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer) (also, be warned, Java compiles

Just FYI, so wait ~3 seconds to make sure the program is actuallyintended solution terminates in an infinite loop, instead of just compiling~3 seconds (including compilation), so it should be crackable on TIO.

#Java 8, 47 bytes p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer) (also, be warned, Java compiles, so wait ~3 seconds to make sure the program is actually in an infinite loop, instead of just compiling)

#Java 8, 47 bytes p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

Source Link
Socratic Phoenix
  • 1.7k
  • 1
  • 11
  • 26
Loading