- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 POJ 1064: Cable master
Cable masterTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 83304 Accepted: 16926 DescriptionInhabitants of the Wonderland have decided to hold a regional programmin...
2020-02-23 10:14:15 211
转载 format specifier floating point values in printf and scanf..
"%f" is the (or at least one) correct format for a double in printf. There is no format for a float, because if you attempt to pass a float to printf, it'll be promoted to double before printf rece...
2020-02-22 19:29:49 358
转载 二分查找算法细节详解
思路我相信对很多读者朋友来说,编写二分查找的算法代码属于玄学编程,虽然看起来很简单,就是会出错,要么会漏个等号,要么少加个 1。不要气馁,因为二分查找其实并不简单。看看 Knuth 大佬(发明 KMP 算法的那位)怎么说的:Although the basic idea of binary search is comparatively straightforward,the det...
2020-02-12 01:08:27 591 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人