文件名称:remove-the-repeat-character
介绍说明--下载内容均来自于网络,请自行研究使用
删除重复字符,华为机试题,设计一个子函数,输入字符串然后在保持字符串相对位置的前提下删除重复的字符。操作成功返回0,异常返回-1;需要注意输出指针所指向的内存是否有效。附带华为的测试程序,在华为在线系统上测试通过-Remove duplicate character, Huawei machine questions, design a subroutine, enter the string and then delete the duplicate character string in maintaining the relative position of the premise. Operation successful return 0, abnormal return-1 note the output pointer points to memory is valid.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
OJ_Project
..........\cppunit-1.12.1
..........\..............\include
..........\..............\.......\cppunit
..........\..............\.......\.......\AdditionalMessage.h
..........\..............\.......\.......\Asserter.h
..........\..............\.......\.......\BriefTestProgressListener.h
..........\..............\.......\.......\CompilerOutputter.h
..........\..............\.......\.......\config
..........\..............\.......\.......\......\config-bcb5.h
..........\..............\.......\.......\......\config-evc4.h
..........\..............\.......\.......\......\config-mac.h
..........\..............\.......\.......\......\config-msvc6.h
..........\..............\.......\.......\......\CppUnitApi.h
..........\..............\.......\.......\......\SelectDllLoader.h
..........\..............\.......\.......\......\SourcePrefix.h
..........\..............\.......\.......\Exception.h
..........\..............\.......\.......\extensions
..........\..............\.......\.......\..........\AutoRegisterSuite.h
..........\..............\.......\.......\..........\ExceptionTestCaseDecorator.h
..........\..............\.......\.......\..........\HelperMacros.h
..........\..............\.......\.......\..........\Orthodox.h
..........\..............\.......\.......\..........\RepeatedTest.h
..........\..............\.......\.......\..........\TestCaseDecorator.h
..........\..............\.......\.......\..........\TestDecorator.h
..........\..............\.......\.......\..........\TestFactory.h
..........\..............\.......\.......\..........\TestFactoryRegistry.h
..........\..............\.......\.......\..........\TestFixtureFactory.h
..........\..............\.......\.......\..........\TestNamer.h
..........\..............\.......\.......\..........\TestSetUp.h
..........\..............\.......\.......\..........\TestSuiteBuilderContext.h
..........\..............\.......\.......\..........\TestSuiteFactory.h
..........\..............\.......\.......\..........\TypeInfoHelper.h
..........\..............\.......\.......\Message.h
..........\..............\.......\.......\Outputter.h
..........\..............\.......\.......\plugin
..........\..............\.......\.......\......\DynamicLibraryManager.h
..........\..............\.......\.......\......\DynamicLibraryManagerException.h
..........\..............\.......\.......\......\PlugInManager.h
..........\..............\.......\.......\......\PlugInParameters.h
..........\..............\.......\.......\......\TestPlugIn.h
..........\..............\.......\.......\......\TestPlugInDefaultImpl.h
..........\..............\.......\.......\portability
..........\..............\.......\.......\Portability.h
..........\..............\.......\.......\portability\CppUnitDeque.h
..........\..............\.......\.......\...........\CppUnitMap.h
..........\..............\.......\.......\...........\CppUnitSet.h
..........\..............\.......\.......\...........\CppUnitStack.h
..........\..............\.......\.......\...........\CppUnitVector.h
..........\..............\.......\.......\...........\FloatingPoint.h
..........\..............\.......\.......\...........\Stream.h
..........\..............\.......\.......\Protector.h
..........\..............\.......\.......\SourceLine.h
..........\..............\.......\.......\SynchronizedObject.h
..........\..............\.......\.......\Test.h
..........\..............\.......\.......\TestAssert.h
..........\..............\.......\.......\TestCaller.h
..........\..............\.......\.......\TestCase.h
..........\..............\.......\.......\TestComposite.h
..........\..............\.......\.......\TestFailure.h
..........\..............\.......\.......\TestFixture.h
..........\..............\.......\.......\TestLeaf.h
..........\..............\.......\.......\TestListener.h
..........\..............\.......\.......\TestPath.h
..........\..............\.......\.......\TestResult.h
..........\..............\.......\.......\TestResultCollector.h
..........\..............\.......\.......\TestRunner.h
..........\..