Skip to main content
cracked
Source Link

Java (OpenJDK 8), 547 + 10 = 557 Cracked by Kevin Cruijssen

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is infamously verbose. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

Java (OpenJDK 8), 547 + 10 = 557

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is infamously verbose. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

Java (OpenJDK 8), 547 + 10 = 557 Cracked by Kevin Cruijssen

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is infamously verbose. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

rephrased comment about verbosity
Source Link

Java (OpenJDK 8), 547 bytes+ 10 = 557

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is just generally moreinfamously verbose than a lot of other languages. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

Java (OpenJDK 8), 547 bytes

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is just generally more verbose than a lot of other languages. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

Java (OpenJDK 8), 547 + 10 = 557

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is infamously verbose. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

added another word to the message
Source Link

Java (OpenJDK 8), 541 + 10 = 551547 bytes

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is just generally more verbose than a lot of other languages. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

Java (OpenJDK 8), 541 + 10 = 551

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is just generally more verbose than a lot of other languages. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM GUARDED AREA
  • Current output: 130 e 8613 150 97

So, can the robbers break out from guarded area?

Java (OpenJDK 8), 547 bytes

import static java.util.stream.Collectors.joining;
import java.util.stream.IntStream;

class Program {
    public static void main(String[] args) {
        System.out.println(new Program());
    }

    String getName(int x) {
        return x + " " + Integer.toHexString(x);
    }

    public String toString() {
        return IntStream.of(130, 14, 8613, 8784, 150, 151).mapToObj(x -> {
            String[] s = getName(x).split(" ");
            int n = (x % 13) % 5;
            return s[n % s.length];
        }).collect(joining(" "));
    }
}

Try it online!

I've never done this before and I see my entry is way longer than others. If that's not appropriate let me know and I'll delete it. Of course, Java is just generally more verbose than a lot of other languages. I could also give a hint about what part of my program the characters were deleted from.

  • 10 characters removed
  • Target output: BREAK OUT FROM THE GUARDED AREA
  • Current output: 130 e 8613 8784 150 97

So, can the robbers break out from the guarded area?

Source Link
Loading