Welcome![Sign In][Sign Up]
Location:
Search - plus-last.g

Search list

[JSP/Javachecktree

Description: 通过css+js实现树形结构,只需要改动html里的源码,就可以得到你要的结果。-java checktree
Platform: | Size: 8192 | Author: 王欣 | Hits:

[Mathimatics-Numerical algorithmsISBN

Description: 每一本正式出版的图书都有一个ISBN号码与之对应,ISBN码包括9位数字、1位识别码和3位分隔符,其规定格式如“x-xxx-xxxxx-x”,其中符号“-”是分隔符(键盘上的减号),最后一位是识别码,例如0-670-82162-4就是一个标准的ISBN码。ISBN码的首位数字表示书籍的出版语言,例如0代表英语;第一个分隔符“-”之后的三位数字代表出版社,例如670代表维京出版社;第二个分隔符之后的五位数字代表该书在该出版社的编号;最后一位为识别码。 识别码的计算方法如下: 首位数字乘以1加上次位数字乘以2……以此类推,用所的结果mod11,所得的余数即为识别码,如果余数为10,则识别码为大写字母X。例如ISBN号码0-670-82162-4中的识别码4是这样得到的:对067082162这9个数字,从左到右,分别乘以1,2,…9,再求和,即0×1+6×2+……+2×9=158,然后取158 mod 11的结果4作为识别码。 你的任务是编写程序判断输入的ISBN号码中识别码是否正确,如果正确,则仅输出“Right”;如果错误,则输出你认为是正确的ISBN号码。 -Each of the official publication of the book has an ISBN number corresponding , ISBN code includes nine digits, an identification code and three separators , its provisions formats such as "x-xxx-xxxxx-x", where the symbol "- "is the delimiter ( minus sign on the keyboard ) , the last one is the identifier , such as ISBN 0-670-82162-4 is a standard code . The first digit ISBN code indicates book publishing language , such as 0 for English first delimiter- After three figures represent the Press, for example, 670 on behalf of Viking Press , " " five after the second delimiter the book publishing figures represent the number the last one for the ID. ID is calculated as follows : The first digit is multiplied by 1 plus the second digit is multiplied by 2 ...... and so , with the result that the mod11, the remainder is the identification code , if the remainder is 10 , then the identification code to uppercase X. ISBN 0-670-82162-4 e.g. the ID number 4 is thus obtained : A
Platform: | Size: 22528 | Author: 程春阳 | Hits:

CodeBus www.codebus.net