Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 7, 2025. It is now read-only.
/cppPublic archive

Create print_permutations_1_to_n.cpp#369

Open
Ultra980 wants to merge1 commit intoAllAlgorithms:master
base:master
Choose a base branch
Loading
fromUltra980:patch-2

Conversation

@Ultra980
Copy link
Contributor

This prints the permutations of the array[ 1, 2, 3, ..., n ], in lexicographical order.

I am creating a pull request for...

  • New algorithm
  • Update to an algorithm
  • Fix an error
  • Other -Describe below

christianbender reacted with thumbs up emoji
This prints the permutations of the array `[ 1, 2, 3, ..., n ]`, in lexicographical order.
@christianbender
Copy link
Collaborator

From line 4: Can you set the constant NMAX to a smaller value? Or even better use a container class like “vector”?

@christianbender
Copy link
Collaborator

Please also remove lines 8 and 9

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Ultra980@christianbender

[8]ページ先頭

©2009-2025 Movatter.jp