摘要:
1 /* 2 本程序说明: 3 4 字符串截取,如字符串qwer kkk/f/lsj sdfgh pppi/uhgf根据"/"分割为qwer kkk、f、lsj sdfgh pppi、uhgf 5 6 */ 7 #include 8 #include 9 #include 10 11 using namespace std; 12 13 //字符串截取 14 ve... 阅读全文
posted @ 2017-08-02 12:46
xiaoxi666
阅读(1025)
评论(0)
推荐(0)
摘要:
翻转一个句子中的单词 比如输入 this is a test 输出 test a is this 输入foobar 输出foobar 1 /* 2 本程序说明: 3 4 翻转一个句子中的单词 比如输入 this is a test 输出 test a is this 输入foobar 输出foobar 5 6 思路:先翻转整个句子,再针对每一个单词翻转之 7 ... 阅读全文
posted @ 2017-08-02 11:12
xiaoxi666
阅读(324)
评论(0)
推荐(0)
摘要:
以下是调试版本(保存乘法每一步的结果),因此空间复杂度高一点: 同类文章: 【模板小程序】十进制大数相加(正整数版本+整数版本【正负0】),包含合法性检查:http://www.cnblogs.com/xiaoxi666/p/7258312.html 【模板小程序】十进制大数除法(不含小数):htt 阅读全文
posted @ 2017-08-02 09:47
xiaoxi666
阅读(507)
评论(0)
推荐(0)

浙公网安备 33010602011771号