diff --git a/C/N_Queens.c b/C/N_Queens.c new file mode 100644 index 00000000..cc44602c --- /dev/null +++ b/C/N_Queens.c @@ -0,0 +1,50 @@ +//N queens + +#include +#include + +#define MAX 100 + +int place(int x[MAX], int r, int c) +{ + int i; + for(i=1;i