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