Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ProblemSet_HUAWEI
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
ProblemSet_HUAWEI
Commits
dd32a59a
You need to sign in or sign up before continuing.
Commit
dd32a59a
authored
Jun 16, 2014
by
lyuka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改格式
parent
bb6d904e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
18 deletions
+31
-18
README.md
README.md
+31
-18
No files found.
README.md
View file @
dd32a59a
...
...
@@ -11,13 +11,15 @@
void
stringFilter
(
const
char
*
pInputStr
,
long
lInputLen
,
char
*
pOutputStr
)
```
【输入】
pInputStr:输入字符串
lInputLen:输入字符串长度
【输入】
pInputStr:输入字符串
lInputLen:输入字符串长度
【输出】pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长
【输出】
pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长
【注意】只需要完成该函数功能算法,中间不需要有任何IO的输入输出
【注意】
只需要完成该函数功能算法,中间不需要有任何IO的输入输出
>示例
>输入:`deefd` 输出:`def`
...
...
@@ -36,12 +38,15 @@ void stringFilter(const char * pInputStr, long lInputLen, char * pOutputStr)
void
stringZip
(
const
char
*
pInputStr
,
long
lInputLen
,
char
*
pOutputStr
);
```
【输入】pInputStr:输入字符串
lInputLen:输入字符串长度
【输出】pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长;
【输入】
pInputStr:输入字符串
lInputLen:输入字符串长度
【输出】
pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长;
【注意】只需要完成该函数功能算法,中间不需要有任何IO的输入输出
【注意】
只需要完成该函数功能算法,中间不需要有任何IO的输入输出
>示例
输入:
`cccddecc`
输出:
`3c2de2c`
...
...
@@ -62,17 +67,21 @@ void stringZip(const char * pInputStr, long lInputLen, char * pOutputStr);
void
arithmetic
(
const
char
*
pInputStr
,
long
lInputLen
,
char
*
pOutputStr
);
```
【输入】 pInputStr:输入字符串
【输入】
pInputStr:输入字符串
lInputLen:输入字符串长度
lInputLen:输入字符串长度
【输出】
pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长;
【输出】
pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长;
【注意】只需要完成该函数功能算法,中间不需要有任何IO的输入输出
【注意】
只需要完成该函数功能算法,中间不需要有任何IO的输入输出
>示例
输入:
`4 + 7`
输出:
`11`
输入:
`4 - 7`
输出:
`-3`
输入:
`9 ++ 7`
输出:
`0`
注:格式错误
---
##2013
...
...
@@ -86,16 +95,20 @@ void arithmetic(const char * pInputStr, long lInputLen, char * pOutputStr);
void
DivideString
(
const
char
*
pInputStr
,
long
lInputLen
,
char
*
pOutputStr
);
```
【输入】pInputStr:输入字符串
【输入】
pInputStr:输入字符串
lInputLen:输入字符串长度
lInputLen:输入字符串长度
【输出】
pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长;
【输出】
pOutputStr:输出字符串,空间已经开辟好,与输入字符串等长;
【注意】只需要完成该函数功能算法,中间不需要有任何IO 的输入输出
【注意】
只需要完成该函数功能算法,中间不需要有任何IO 的输入输出
>示例
输入:
`abc def gh i d`
输出:
`abc,def,gh,i,d,`
---
###题2 逆序链表输出
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment