对64-bit integers,请使用 long long 进行申明,GNU 不支持__int64,输入输出使用lld.例如: long long a;scanf("%lld",&a), printf ("%lld",a);