y‰SŽÒzJavaŽ¿–⥑ ..
718:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ
08/02/24 17:09:04
1`n‚Ì®”‚̇—ñ‚ð‚·‚×‚Ä•\ަ‚·‚éƒvƒƒOƒ‰ƒ€‚ð‘‚¢‚Ă݂½‚̂ł·‚ª
‚à‚Á‚ÆŠÈ’P‚É‚â‚é•û–@‚Æ‚©‚±‚±‚Í‚±‚¤‚µ‚½‚ç‚¢‚¢‚Æ‚©‚ ‚Á‚½‚çƒAƒhƒoƒCƒX‚¨Šè‚¢‚µ‚Ü‚·
import java.util.*;
class PermutationTest {
public static void main(String[] args) {
Permutation perm1 = new Permutation(4);
perm1.PrintPermutation();
return;
}
}
class Permutation {
private int N;
private int[] ans;
Permutation(int N){
this.N = N;
this.ans = new int[N];
}
void PrintPermutation() {
int[] a = new int[N];
for (int i = 0; i < N; i++) {
a[i] = i+1;
}
this.subPrintPerm(a,0);
}
‘±‚
ŽŸƒy[ƒW‘±‚«‚ð•\ަ1‚ð•\ަÅVƒŒƒX•\ަƒXƒŒƒbƒh‚ÌŒŸõ—ÞŽ—ƒXƒŒˆê——˜b‘è‚̃jƒ…[ƒX‚¨‚Ü‚©‚¹ƒŠƒXƒg¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ‰É‚‚Ԃµ2ch
4244“ú‘O‚ÉXV/275 KB
’S“–:undef