cs0x7f / TPR-4x4x4-Solver

4x4x4 Solver = Three-Phase-Reduction Solver + 3x3x3 Solver
24 stars 5 forks source link

Wrong position throws error #11

Open Tazeg opened 3 years ago

Tazeg commented 3 years ago

Hello, given anything like :

java -cp .:threephase.jar:twophase.jar solver ANY_TEXT

Raises :

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 8
    at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:48)
    at java.base/java.lang.String.charAt(String.java:712)
    at cs.threephase.Search.solution(Search.java:134)
    at solver.main(solver.java:42)

It should return something like Wrong position. Regards.