返回信息流out和expect out分别是啥呀。。你这遇到空串也不对呀。。
这是一条镜像帖。来源:北邮人论坛 / cpp / #91405同步于 2016/4/30
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖
Re: leetcode 344 遇到的小问题求助...
pzhfreeze
2016/4/30镜像同步7 回复
订阅后,新回复会通过你的通知中心匿名送达。
7 条回复
【 在 paranoid 的大作中提到: 】
: 题目是反转字符串:
: Write a function that takes a string as input and returns the string reversed.
: Example:
: ...................
空串的长度是0……
【 在 paranoid 的大作中提到: 】
: 题目是反转字符串:
: Write a function that takes a string as input and returns the string reversed.
: Example:
: ...................
顺便C++的编译器会优化这种尾递归么……会不会爆啊……
借楼召唤暖神……@nuanyangyang
嗯,空串确实会爆,但是我不清楚他给的这个""为啥会爆
【 在 pzhfreeze (单车) 的大作中提到: 】
: out和expect out分别是啥呀。。你这遇到空串也不对呀。。
Leetcode是这么表示空串的(扶额)
【 在 paranoid 的大作中提到: 】
: 嗯,空串确实会爆,但是我不清楚他给的这个""为啥会爆
:
: 【 在 pzhfreeze (单车) 的大作中提到: 】
: : out和expect out分别是啥呀。。你这遇到空串也不对呀。。
:
: .........
[ema2][ema2][ema2]原来如此,看来是我sb了
【 在 whisperzzzz (悄悄) 的大作中提到: 】
: Leetcode是这么表示空串的(扶额)