Description: Given an integer (negative using its absolute value), output the sum of two descending in the integer number (1. Maximum decreasing number 2. The decline in the number of each number the sum is the biggest number).Decreasing number: a number of decreasing number refers to the digital adjacent order number, do not contain adjacent digital size are the same.Maximum number of decreasing: all the input integer one of the biggest decline in the number of values.Such as: 75345323, decreasing number: 75753,53,53,532,32. Maximum decreasing number is 753. The sum of digits of the largest decline number: 75 bits digital = 12 (7+ 5), the sum of the sum of 753 digits 15, thus the maximum decreasing number is 753.The program output = maximum decreasing number+ you number the sum is one of the largest decline.Input: 75345323, output: 1506
To Search:
File list (Check if you may need any files):
HWTest12
........\Debug
........\.....\HWTest12.exe
........\.....\HWTest12.ilk
........\.....\HWTest12.pdb
........\HWTest12
........\HWTest12.sdf
........\HWTest12.sln
........\HWTest12.suo
........\........\Debug
........\........\.....\CL.read.1.tlog
........\........\.....\CL.write.1.tlog
........\........\.....\HWTest12.exe.embed.manifest
........\........\.....\HWTest12.exe.embed.manifest.res
........\........\.....\HWTest12.exe.intermediate.manifest
........\........\.....\HWTest12.lastbuildstate
........\........\.....\HWTest12.log
........\........\.....\HWTest12.obj
........\........\.....\HWTest12.pch
........\........\.....\HWTest12_manifest.rc
........\........\.....\link-cvtres.read.1.tlog
........\........\.....\link-cvtres.write.1.tlog
........\........\.....\link.1808-cvtres.read.1.tlog
........\........\.....\link.1808-cvtres.write.1.tlog
........\........\.....\link.1808.read.1.tlog
........\........\.....\link.1808.write.1.tlog
........\........\.....\link.4608-cvtres.read.1.tlog
........\........\.....\link.4608-cvtres.write.1.tlog
........\........\.....\link.4608.read.1.tlog
........\........\.....\link.4608.write.1.tlog
........\........\.....\link.8036-cvtres.read.1.tlog
........\........\.....\link.8036-cvtres.write.1.tlog
........\........\.....\link.8036.read.1.tlog
........\........\.....\link.8036.write.1.tlog
........\........\.....\link.read.1.tlog
........\........\.....\link.write.1.tlog
........\........\.....\mt.read.1.tlog
........\........\.....\mt.write.1.tlog
........\........\.....\rc.read.1.tlog
........\........\.....\rc.write.1.tlog
........\........\.....\stdafx.obj
........\........\.....\vc100.idb
........\........\.....\vc100.pdb
........\........\HWTest12.cpp
........\........\HWTest12.vcxproj
........\........\HWTest12.vcxproj.filters
........\........\HWTest12.vcxproj.user
........\........\ReadMe.txt
........\........\stdafx.cpp
........\........\stdafx.h
........\........\targetver.h
........\ipch
........\....\hwtest12-4eae7a8a
........\....\.................\hwtest12-bd57274e.ipch