• 随机数

    二分查找头文件12#include<stdio.h>#include<time.h> 普通随机数1rand() [0,b-a]1rand()%(b-a+1) [a,b]1rand()%(b-a+1)+a 大整数rand...
  • difficult

    codeupTo Fill or Not to Fill 初始化每个加油站的start和end,遍历每个加油站可到达的加油站,比较价格,修改start和end。 只过了pat 123456789101112131415161718192021222...
  • 需要注意的点

    输出格式补位需要注意题目的输出格式,可能不会直说,若是00001时,注意要在高位补0 123printf("%05d",a);//以0补充printf("%5d",a);//以5位右对齐输出printf(&qu...
  • Hello World

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, yo...