0
n queen problem
I am trying to modify this code i got from the internet where the users can input the N size of the chessboard however I always get errors. Here is the code: https://code.sololearn.com/cCdCkOpsa04z/#java
7 ответов
+ 2
looks incomplete
https://www.sololearn.com/post/75089/?ref=app
+ 1
so what error you have and which line it occur ?
0
https://code.sololearn.com/cCdCkOpsa04z/#java
oh sorry, please see the complete code here.
0
oh, i didnt do it here in sololearn, i was seeking for help because i knew some of you guys could help me beside stackoverflow
0
like adding JOptionPane so the users could input the N, and pass it on the methods sometimes i get IndexOutofBoundsException, because in the original code which i show you, it was only limited in 8x8 queens, i'd like to modify it so users could specify the size