摘要: 题目描述 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 解题思 阅读全文
posted @ 2017-05-11 13:15 qqky 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 题目描述 给定一个double类型的浮点数base和int类型的整数exponent。求base的exponent次方。 解题思路:首先要注意特殊情况的处理 base为0情况 exponent为0 为1情况 exponent为负数情况 1 #include <iostream> 2 using na 阅读全文
posted @ 2017-05-11 10:18 qqky 阅读(160) 评论(0) 推荐(0) 编辑