摘要:
题目地址:https://pintia.cn/problem-sets/15/problems/726 计算链表长度,注意特判空链表的情况 int Length(List L) { if(!L) return 0;//特判空链表 int len = 1;cout<<L->Data<<endl; wh 阅读全文
摘要:
题目地址https://pintia.cn/problem-sets/15/problems/923 就是二分查找裸题,把程序读清楚就差不多了。 本地写的补全的裁判程序 // //code by mile //compiled by clion //no bug //Always get ACCEP 阅读全文