0_0_29617379_25947.cpp: In function 'int main()': 0_0_29617379_25947.cpp:23:51: error: 'mod' was not declared in this scope printf("%I64d\n", (quick_pow(2, n, p) - 2+mod )%mod);//这一步注意,不要为负数 ^