摘要: 链接:http://www.patest.cn/contests/pat-a-practise/1074反转链表,但是PAT上的链表题(其实总共也就两道题)都是可以使诈的,比如list sorting,拿到了数据之后,记录好所有node的val和cur_address,排个序然后再依次打出来就好了.... 阅读全文
posted @ 2014-11-28 15:09 EpisodeXI 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 链接:http://www.patest.cn/contests/pat-a-practise/1073明天就考试了,圆神保佑萌萌哒~scientific notation,科学记数法,分几种情况进行判断,主要是exponent的部分,如果exponent小于0的话,需要在前面添加0,如果expon... 阅读全文
posted @ 2014-11-28 15:04 EpisodeXI 阅读(128) 评论(0) 推荐(0) 编辑