Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Embeded-SCM Develop ARM-PowerPC-ColdFire-MIPS

Lexicographic_order

  • Category : ARM-PowerPC-ColdFire-MIPS
  • Tags :
  • Update : 2012-11-26
  • Size : 219kb
  • Downloaded :0次
  • Author :张***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
acm algorithm design: the problem with the dictionary sequence Description: n elements (1,2 ,..., n) there are n! different order. This n! Were arranged according to lexicographic order, and numbered 0,1, ..., n!-1. With the number of each sequence value for the dictionary. For example, when n = 3, the six different sequence with the value of the dictionary is as follows: Lexicographic values: 0 1 2 3 4 5 Order: 123 132 213 231 312 321 Tasks: to set n and n elements (1,2 ,..., n) an arranged order to calculate the value of the dictionary sequence and arranged according to lexicographic order of the next. Input: Line 1 is the number of elements n (n <15). Line 1 is the next n elements (1,2 ,..., n) an order. Output: The first line is the value of the dictionary sequence, line 2 is arranged according to lexicographic order of the next. Cases of type: 8 2 6 4 5 8 1 7 3 Cases the output: 8227 2 6 4 5 8 3 1 7
Packet file list
(Preview for download)
排列的字典序问题
................\Debug
................\.....\StdAfx.obj
................\.....\vc60.idb
................\.....\vc60.pdb
................\.....\排列的字典序问题.exe
................\.....\排列的字典序问题.ilk
................\.....\排列的字典序问题.obj
................\.....\排列的字典序问题.pch
................\.....\排列的字典序问题.pdb
................\ReadMe.txt
................\StdAfx.cpp
................\StdAfx.h
................\排列的字典序问题.cpp
................\排列的字典序问题.dsp
................\排列的字典序问题.dsw
................\排列的字典序问题.ncb
................\排列的字典序问题.opt
................\排列的字典序问题.plg
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.