#include <inttypes.h> printf("%" PRId64 "\n", value); 这是一种跨平台的书写方式,主要是为了同时支持32位和64位操作系统。PRId64表示64位整数,在32位系统中表示long……