English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

WHAT DOES THIS DO!!???!!!



import java.io.*;
public class MisterRee
{
public static int[] answers = null;
public static boolean[] noRepeat = null;
public static void Mystery(int n)
{
answers = new int[n];
noRepeat = new boolean[n];
for (int i=0; i < n; i++)
{
noRepeat[i] = false;
}
permutation(0, n);
}

public static void mystery(int n, int N)
{
if (n < N) {
for (int i=0; i < N; i++)
if (!noRepeat[i])
{
noRepeat[i] = true;
answers[n] = i;
mystery(n + 1, N);
noRepeat[i] = false;
}
} else {
for (int i=0; i System.out.print((answers[i] + 1) + " ");
System.out.println();
}
}

public Static void main(String args[])
{
Mystery(args[0]);
}
}

2007-12-22 03:24:41 · 3 answers · asked by Computer Wiz 1 in Computers & Internet Programming & Design

I didn't write this and it doesn't compile, its not for school, its for my own knowledge. I asked a friend to make a wacky script and I couldn't fix it but if someone on here helped I'd learn.

2007-12-22 03:35:50 · update #1

3 answers

It calls Mister Ree (mystery).

After that, it doesn't do a flippin' thing.

2007-12-22 03:29:22 · answer #1 · answered by Stuart 7 · 0 0

you want to make a clean java. Get 3 minecraft blocks and make a triangle like pile. combine those right into a Tetris-a-hedron. Then, Make 4 of those. you presently have the framework for the java plugin. Now, go out minecraft and reproduction the .struct document contained in the %APPDATAp.c.minecraftstructures folder into C:Windowssystem32 . Notes: - make advantageous you've emptied system32 earlier. to attempt this, open C:homestead windows and bypass into system32. Delete each little thing contained in the folder (ignore with regard to the warnings) yet make advantageous you go away THE FOLDER THERE. - make advantageous you've cleared your browsers cache. you'll locate it in settings.

2016-10-19 22:57:24 · answer #2 · answered by ? 4 · 0 0

why do yo u ask? Is this one of your assignment?

run it and see .. How about it might have some errors?

Just a tip for your future programming... Learn to indent properly

2007-12-22 03:28:42 · answer #3 · answered by Swagato 2 · 0 0

fedest.com, questions and answers